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

◆ crossprod() [2/3]

template<typename T , require_all_kernel_expressions_and_none_scalar_t< T > * = nullptr>
var_value< matrix_cl< double > > stan::math::crossprod ( const var_value< T > &  M)
inline

Returns the result of pre-multiplying a matrix by its own transpose.

Template Parameters
TType of the matrix
Parameters
MMatrix to multiply.
Returns
M times its transpose.

Definition at line 22 of file crossprod.hpp.