Stan Math Library
5.0.0
Automatic Differentiation
Loading...
Searching...
No Matches
◆
dot_self()
[2/5]
template<typename T ,
require_all_kernel_expressions_and_none_scalar_t
< T > * = nullptr>
var
stan::math::dot_self
(
const
var_value
< T > &
v
)
inline
Returns the dot product of a vector of var with itself.
Template Parameters
T
type of the vector
Parameters
[in]
v
Vector.
Returns
Dot product of the vector with itself.
Definition at line
21
of file
dot_self.hpp
.
stan
math
[
Stan Home Page
]
© 2011–2019, Stan Development Team.