Class matrix_row_gen_ctor (o2scl)¶
-
template<class
mat_t
>
classo2scl
::
matrix_row_gen_ctor
¶ Matrix row object with a constructor and resize method.
This is used in o2scl::ode_iv_solve_grid .
Public Functions
-
matrix_row_gen_ctor
(size_t n_cols = 0)¶ Create a row object from row
row
of matrixm
.
-
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.
-