| Author |
Comment/Response |
RG
|
01/09/13 00:14am
Hi,
I want to use the Compile function to compile my code on C.
My function require a String data as an input.
example
f = Compile[{{x, _String}}, x^2, CompilationTarget :> "C"]
when I compile it, I have this error:
Compile::ctyp2: Invalid type or rank specification in {x,_String}.
does Compile accept the String type? I try again Blank, Symbol but no solution.
Please Help me.
URL: , |
|