I want to use Compiler:-Compile for a function with a numerical vector v:= [1.0,2.0,3.0,4.0];
as initialized variable. The help refers to CodeGeneration/Details where it says:
"The CodeGeneration functions can analyze some rtable type declarations and constructors within procedures. Data types, dimensions and ranges are recognized, but most options are ignored. The only initializer accepted is a list. Dimensions and ranges must have integer values ..."
local v::Vector(1..4,datatype=float, order= Fortran_order);
Error, (in printtab[CodeGeneration:-Names:-Declaration]) local variables cannot have Array types
Any suggestions? I can not find it out (and have 'large' arrays ) ...