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

◆ csr_u_to_z()

int stan::math::csr_u_to_z ( const std::vector< int > &  u,
int  i 
)
inline

Return the z vector computed from the specified u vector at the index for the z vector.

Parameters
[in]uU vector.
[in]iIndex into resulting z vector.
Returns
z[i] where z is conversion from u.
Exceptions
std::domain_errorif u is zero length.
std::out_of_rangeif i is out of range.

Definition at line 25 of file csr_u_to_z.hpp.