Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return the unit length vector corresponding to the free vector y.
See the Wikipedia page on generating random points on an N-sphere.
T | type inheriting from EigenBase that does not have an fvar scalar type. |
y | vector of K unrestricted variables |
Definition at line 27 of file unit_vector_constrain.hpp.