Back to Linear Algebra (Eigen)
eigen.dense.shape
Get the shape of a matrix as [rows, cols].
Syntax
eigen.dense.shape(A)
Description
Get the shape of a matrix as [rows, cols].
Parameters
| Name | Description |
|---|---|
| A | - Matrix handle |
Returns
[number, number]