<< toDouble SYMSCI Toolbox toSciFunction >>

SYMSCI Toolbox >> SYMSCI Toolbox > toSciCode

toSciCode

convert symbolic expression to Scilab code

Calling Sequence

s = toSciCode( a )

Arguments

a

symbolic scalar, symbolic matrix of expressions

s

string matrix

Description

Converts symbolic expressions a to Scilab code strings s.

Examples

// symbols
Syms f g x

// symbolic expression f ...
f : "(x+x*exp(x))^2"

// ... and its derivative
g : Diff(f,x)

// both as Scilab code
toSciCode(f)
toSciCode(g)

// clean up
reset();
clear f g x;

See Also

Authors

Bibliography

SymEngine: C++ library for fast symbolic manipulation.


Report an issue
<< toDouble SYMSCI Toolbox toSciFunction >>