Public Member Functions | Protected Attributes | List of all members
o2scl::matrix_row_gen< mat_t > Class Template Reference

Generic object which represents a row of a matrix. More...

#include <vector.h>

Public Member Functions

 matrix_row_gen (mat_t &m, size_t row)
 Create a row object from row row of matrix m.
double & operator[] (size_t i)
 Return a reference to the ith column of the selected row.
const double & operator[] (size_t i) const
 Return a const reference to the ith column of the selected row.

Protected Attributes

mat_t & m_
size_t row_

Detailed Description

template<class mat_t>
class o2scl::matrix_row_gen< mat_t >

This class is experimental.

This class is used in o2scl::eos_sn_base::slice to construct a row of a matrix object of type

std::function<double &(size_t,size_t)>

Definition at line 2235 of file vector.h.

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).