<< Subs SYMSCI Toolbox Syms >>

SYMSCI Toolbox >> SYMSCI Toolbox > Sym

Sym

create symbolic scalar

Calling Sequence

b = Sym( a )

Arguments

a

string, double or integer

s

symbolic

Description

Creates and returns a symbolic scalar b, with the symbolic representation of a as value.

Other symbolic types (Matrix, Vector, or Set) contain as elements symbolic scalars.

Examples

// create some symbolic Scilab variables

// symbol
x = Sym("x")

// real double
y = Sym("2.0")

// integer
z = Sym("5")

// expression
ex = Sym("f(x) + x*x")

See Also

Authors

Bibliography

SymEngine: C++ library for fast symbolic manipulation.


Report an issue
<< Subs SYMSCI Toolbox Syms >>