Back to Linear Algebra (Eigen)
eigen.dense.sum
Compute the sum of all elements in a matrix.
Syntax
eigen.dense.sum(A)
Description
Compute the sum of all elements in a matrix.
Parameters
| Name | Description |
|---|---|
| A | - Matrix |
Returns
number