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

◆ row() [1/2]

template<typename T_x , typename = require_nonscalar_prim_or_rev_kernel_expression_t<T_x>>
auto stan::math::row ( T_x &&  x,
size_t  j 
)
inline

Return the specified row of the specified kernel generator expression using start-at-1 indexing.

Template Parameters
T_xtype of input kernel generator expression x
Parameters
xinput kernel generator expression.
jRow index (count from 1).
Returns
Specified row of the matrix.
Exceptions
std::out_of_rangeif j is out of range.

Definition at line 23 of file row.hpp.