public ScalarValue Function(MatrixValue M) { return new ScalarValue(Math.Max(M.DimensionX, M.DimensionY)); }