![]() |
Stan Math Library
2.9.0
reverse mode automatic differentiation
|
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/mat/fun/dot_self.hpp>
#include <stan/math/prim/mat/err/check_vector.hpp>
#include <stan/math/prim/scal/err/check_positive_finite.hpp>
#include <stan/math/prim/scal/err/check_nonzero_size.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/rev/mat/fun/dot_self.hpp>
#include <cmath>
Go to the source code of this file.
Namespaces | |
stan | |
stan::math | |
Matrices and templated mathematical functions. | |
Functions | |
template<int R, int C> | |
Eigen::Matrix< var, R, C > | stan::math::unit_vector_constrain (const Eigen::Matrix< var, R, C > &y) |
Return the unit length vector corresponding to the free vector y. More... | |
template<int R, int C> | |
Eigen::Matrix< var, R, C > | stan::math::unit_vector_constrain (const Eigen::Matrix< var, R, C > &y, var &lp) |
Return the unit length vector corresponding to the free vector y. More... | |
const int idx_ |
Definition at line 22 of file unit_vector_constrain.hpp.
const double norm_ |
Definition at line 23 of file unit_vector_constrain.hpp.
const int size_ |
Definition at line 21 of file unit_vector_constrain.hpp.
const double* unit_vector_y_ |
Definition at line 20 of file unit_vector_constrain.hpp.
vari** y_ |
Definition at line 19 of file unit_vector_constrain.hpp.