Class const_matrix_row_gen (o2scl)¶
-
template<class
mat_t
>
classo2scl
::
const_matrix_row_gen
¶ Generic object which represents a row of a const matrix.
This class is used in
o2scl::eos_sn_base::slice
to construct a row of a matrix object of typestd::function<double &(size_t,size_t)>
- Note
This class is experimental.
Public Functions
-
const double &
operator[]
(size_t i) const¶ Return a const reference to the ith column of the selected row.