array_2d_row Class Template Reference

#include <array.h>


Detailed Description

template<class array_2d_t>
class array_2d_row< array_2d_t >

Row of a 2d array.

Definition at line 303 of file array.h.


Public Member Functions

 array_2d_row (array_2d_t &mat, size_t i)
 Create an object as the ith row of mat.
double & operator[] (size_t i)
 Array-like indexing.
const double & operator[] (size_t i) const
 Array-like indexing.

Protected Attributes

double * a
 The array pointer.

The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page