Generic object which represents a column of a matrix. More...
#include <vector.h>
The only requirement on the type mat_t
is that it must have an operator(size_t,size_t) method which accesses elements in the matrix.
This class is used in o2scl::eos_sn_base::slice
to construct a row of a matrix object of type
Public Member Functions | |
matrix_column_gen (mat_t &m, size_t column) | |
double & | operator[] (size_t i) |
const double & | operator[] (size_t i) const |
Protected Attributes | |
mat_t & | m_ |
size_t | column_ |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).