![]() |
Stan Math Library
5.4.0
Automatic Differentiation
|
|
inline |
Return the column vector of elements of x selected by paired (zipped) 1-based row and column indices.
| EigMat | type of the matrix |
| x | input matrix |
| idx_row | row index vector |
| idx_col | column index vector |
| std::invalid_argument | if the index vectors are of different lengths |
| std::out_of_range | if any index is out of the valid range of the matrix |
Definition at line 27 of file zip_index.hpp.