<< Zeros SYMSCI Toolbox elems >>

SYMSCI Toolbox >> SYMSCI Toolbox > cols

cols

number of columns of a symbolic matrix

Syntax

c = cols( A )

Arguments

A

symbolic matrix

c

non-negative integer

Description

Returns the number of columns c of a symbolic matrix A.

Examples

// create a (3,4)-matrix
M = Mat("e",3,4)

// number of rows
rows(M)

// number of cols
cols(M)

// number of elements
elems(M)

See Also

Authors

Bibliography

SymEngine: C++ library for fast symbolic manipulation.


Report an issue
<< Zeros SYMSCI Toolbox elems >>