Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ unit_vector_free() [1/2]

template<typename EigVec , require_eigen_col_vector_t< EigVec > * = nullptr>
auto stan::math::unit_vector_free ( EigVec &&  x)
inline

Transformation of a unit length vector to a "free" vector However, we are just fixing the unidentified radius to 1.

Thus, the transformation is just the identity

Template Parameters
EigVecA type derived from EigenBase with 1 compile time row or column.
Parameters
xunit vector of dimension K
Returns
Unit vector of dimension K considered "free"

Definition at line 24 of file unit_vector_free.hpp.