![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Returns the number of the elements of a matrix_cl or var_value<matrix_cl<T>>.
Returns the size of the specified matrix.
Returns 1, the number of elements in a primitive type.
| m | input to determine size of |
| T | scalar type |
| x | Argument of primitive type. |
| T | type of the matrix |
| m | argument matrix |
Definition at line 20 of file num_elements.hpp.