<< Transpose SYMSCI Toolbox Vec >>

SYMSCI Toolbox >> SYMSCI Toolbox > VCat

VCat

(;) vertical catenation operator

Syntax

A = VCat( A1, A2 )
A = [ A1; A2 ]

Arguments

A1, A2, A

symbolic, string, double, or integer matrix

Description

Returns a matrix A, which is build by vertical catenation of A1 and A2.

Examples

// scalars
a1 = Sym("a1")
a2 = Sym("a2")

// vertical catenation gives matrix
A = [a1; a2]

// catenate matrix and scalar
[A; a1]
[a2; A]

// catenate matrix and matrix ...
[A; A; A]

See Also

Authors

Bibliography

SymEngine: C++ library for fast symbolic manipulation.


Report an issue
<< Transpose SYMSCI Toolbox Vec >>