Matrix row object with a constructor and resize method. More...
#include <vector.h>
This is used in o2scl::ode_iv_solve_grid .
Public Member Functions | |
| matrix_row_gen_ctor (mat_t &m, size_t row) | |
Create a row object from row row of matrix m. | |
| matrix_row_gen_ctor (size_t n_cols=0) | |
Create a row object from row row of matrix m. | |
| void | resize (size_t n_cols=0) |
| Resize. | |
| size_t | size () const |
| Return size. | |
| 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 * | mp |
| A pointer to the matrix. | |
| size_t | row_ |
| The selected row. | |
| mat_t | mat |
| A matrix to point to. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).