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

◆ dot_self() [1/5]

template<typename T , require_all_kernel_expressions_and_none_scalar_t< T > * = nullptr>
auto stan::math::dot_self ( const T &  a)
inline

Returns squared norm of a vector or matrix.

For vectors that equals the dot product of the specified vector with itself.

Template Parameters
Ttype of the vector
Parameters
aVector.

Definition at line 21 of file dot_self.hpp.