6 lines
211 B
Mathematica
6 lines
211 B
Mathematica
|
|
funName = 'foo'; % generate function name
|
||
|
|
feval (funNAME, ...) % evaluation function with optional parameters
|
||
|
|
|
||
|
|
funName = 'a=atan(pi)'; % generate function name
|
||
|
|
eval (funName, 'printf(''Error\n'')')
|