Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ num_elements() [1/3]

template<typename T , require_nonscalar_prim_or_rev_kernel_expression_t< T > * = nullptr>
size_t stan::math::num_elements ( const T &  m)

Returns the number of the elements of a matrix_cl or var_value<matrix_cl<T>>.

Parameters
minput to determine size of
Returns
number of elements in m

Definition at line 19 of file num_elements.hpp.