Class matrix_view (o2scl)¶
-
class
o2scl
::
matrix_view
¶ A simple matrix view object.
Subclassed by o2scl::matrix_swap_table, o2scl::matrix_view_vec_vec< vec1_t, vec2_t >
Public Functions
-
const double &
operator()
(size_t row, size_t col) const¶ Return a reference to the element at row
row
and columncol
.
-
double &
operator()
(size_t row, size_t col)¶ Return a reference to the element at row
row
and columncol
.
-
size_t
size1
() const¶ Return the number of rows.
-
size_t
size2
() const¶ Return the number of columns.
-
const double &