![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
Create a vector-like class from a row of a matrix. More...
#include <vector.h>
Public Member Functions | |
matrix_row (mat_t &m, size_t r) | |
Create an object which represents row r of matrix m . | |
double & | operator[] (size_t c) |
Access element of column c from the specified row. | |
const double & | operator[] (size_t c) const |
Access element of column c from the specified row. | |
Protected Attributes | |
size_t | r2 |
The row index. | |
mat_t * | m2 |
The pointer to the matrix. |
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).