Command Reference
:
Matrix Language Reference
@filledsym
Matrix General Functions
Create and fill sym with scalar value.
Syntax:
@filledsym
(
n1
,
n2
)
n1
: integer
n2
: number
Return: sym
Returns an
sym, where each element contains
n2
.
Examples
sym(3) s1
s1 = @pi
sym s2 = @filledsym(3, @pi)
create
syms where each element is set to Pi. The function allows for the creation and initialization of the sym using a single command.
Cross-references
See
@fill
for creating a vector using multiple values and
@unvech
for creating a sym from a vector.
See also
Sym::fill
.