array_row Class Template Reference

#include <array.h>


Detailed Description

template<class data_t, class array_2d_t>
class array_row< data_t, array_2d_t >

Extract a row of a C-style 2d-array.

Definition at line 459 of file array.h.


Public Member Functions

 array_row (array_2d_t &a, size_t i)
 View the ith row of the 2-d array a.
data_t & operator[] (size_t i)
 The element in the ith column of the chosen row.

Protected Attributes

data_t * p
 The 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