Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Return the unit length vector corresponding to the free vector y.
See https://en.wikipedia.org/wiki/N-sphere#Generating_random_points
EigMat | type inheriting from EigenBase that has a var scalar type. |
y | vector of K unrestricted variables |
lp | Log probability reference to increment. |
Definition at line 61 of file unit_vector_constrain.hpp.