Generic object which represents a column of a const 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 one of the o2scl::prob_dens_mdim_gaussian constructors.
Public Member Functions | |
const_matrix_column_gen (const mat_t &m, size_t column) | |
Create a column object from column column of matrix m . | |
const double & | operator[] (size_t i) const |
Return a const reference to the ith row of the selected column. | |
Protected Attributes | |
const mat_t & | m_ |
A reference to the original matrix. | |
size_t | column_ |
The selected column. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).