Stan Math Library
4.9.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
T | type of the value of input matrix |
A | vector of K unrestricted variables |
lp | Log probability reference to increment. |
Definition at line 45 of file unit_vector_constrain.hpp.