Class matrix_row_gen_ctor (o2scl)¶
-
template<class mat_t>
class matrix_row_gen_ctor¶ Matrix row object with a constructor and resize method.
This is used in o2scl::ode_iv_solve_grid .
Public Functions
-
inline matrix_row_gen_ctor(size_t n_cols = 0)¶
Create a row object from row
row
of matrixm
.
-
inline void resize(size_t n_cols = 0)¶
Resize.
-
inline size_t size() const¶
Return size.
-
inline double &operator[](size_t i)¶
Return a reference to the ith column of the selected row.
-
inline const double &operator[](size_t i) const¶
Return a const reference to the ith column of the selected row.
-
inline matrix_row_gen_ctor(size_t n_cols = 0)¶