Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Return the unit length vector corresponding to the given free vector.
See the Wikipedia page on generating random points on an N-sphere.
T_x | type of the vector |
x | vector of unrestricted variables | |
[in,out] | lp | log probability to increment |
Definition at line 46 of file unit_vector_constrain.hpp.