Return a reference to the value of the specified matrix at the specified base-one row and column indexes.
If either index is out of range, throw a std::out_of_range exception with the specified error message and index indicated.
- Template Parameters
-
- Parameters
-
| x | Matrix from which to get a row |
| m | Row index plus 1. |
| n | Column index plus 1. |
| error_msg | Error message if either index is out of range. |
| idx | Nested index level to report in error message if either index is out of range. |
- Returns
- Value of matrix at row
m - 1 and column n - 1.
- Exceptions
-
| std::out_of_range | if idx is out of range. |
Definition at line 275 of file get_base1_lhs.hpp.