Class const_matrix_view (o2scl)

O2scl : Class List

class const_matrix_view

A simple matrix view object.

Subclassed by o2scl::const_matrix_view_table< vec_t, fp_t >, o2scl::const_matrix_view_table_transpose< vec_t, fp_t >

Public Functions

const double &operator()(size_t row, size_t col) const

Return a reference to the element at row row and column col.

size_t size1() const

Return the number of rows.

size_t size2() const

Return the number of columns.