Generic object which represents a row of a matrix. More...
#include <vector.h>
This class is used in o2scl::eos_sn_base::slice to construct a row of a matrix object of type
Public Member Functions | |
| matrix_row_gen (mat_t &m, size_t row) | |
Create a row object from row row of matrix m. | |
| double & | operator[] (size_t i) |
| Return a reference to the ith column of the selected row. | |
| const double & | operator[] (size_t i) const |
| Return a const reference to the ith column of the selected row. | |
Protected Attributes | |
| mat_t & | m_ |
| A reference to the original matrix. | |
| size_t | row_ |
| The selected row. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).