1 #ifndef STAN_MATH_FWD_MAT_FUN_DOT_SELF_HPP 2 #define STAN_MATH_FWD_MAT_FUN_DOT_SELF_HPP 12 template <
typename T,
int R,
int C>
void check_vector(const char *function, const char *name, const Eigen::Matrix< T, R, C > &x)
Check if the matrix is either a row vector or column vector.
fvar< T > dot_self(const Eigen::Matrix< fvar< T >, R, C > &v)
fvar< T > dot_product(const Eigen::Matrix< fvar< T >, R1, C1 > &v1, const Eigen::Matrix< fvar< T >, R2, C2 > &v2)
This template class represents scalars used in forward-mode automatic differentiation, which consist of values and directional derivatives of the specified template type.