Public Member Functions | List of all members
o2scl::matrix_view Class Reference

A simple matrix view object. More...

#include <vector.h>

Inheritance diagram for o2scl::matrix_view:
o2scl::matrix_swap_table o2scl::matrix_view_vec_vec< vec1_t, vec2_t >

Detailed Description

Definition at line 2909 of file vector.h.

Public Member Functions

const double & operator() (size_t row, size_t col) const
 Return a reference to the element at row row and column col.
 
double & operator() (size_t row, size_t col)
 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.
 

The documentation for this class was generated from the following file:

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).