simit icon indicating copy to clipboard operation
simit copied to clipboard

Matrix/vector parameters with set dimensions

Open stephenchouca opened this issue 8 years ago • 0 comments

Back end currently does not support calling functions with matrix or vector parameters that have set dimensions, e.g.

extern points : set{Point};

func foo(M : matrix[points,points](float))
   % Do something here...
end

export func main()
   const A : matrix[points,points](float) = map f to points;
   foo(A);
end

stephenchouca avatar Aug 06 '16 01:08 stephenchouca