Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Attributes
matrix_row< mat_t > Class Template Reference

Create a vector-like class from a row of a matrix. More...

#include <vector.h>


Detailed Description

template<class mat_t>
class matrix_row< mat_t >

Idea for Future:
Generalize to operator(,)

Definition at line 769 of file 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.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.