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

◆ crossprod() [1/3]

template<typename T_A , typename = require_all_kernel_expressions_and_none_scalar_t<T_A>>
matrix_cl< typename std::decay_t< T_A >::Scalar > stan::math::crossprod ( T_A &&  A)
inline

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

Template Parameters
Ttype of elements in A
Parameters
Ainput matrix
Returns
transpose(A) * A

Definition at line 21 of file crossprod.hpp.