Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Attributes
array_2d_row< array_2d_t, data_t > Class Template Reference

Row of a 2d array.

#include <array.h>


Detailed Description

template<class array_2d_t, class data_t = double>
class array_2d_row< array_2d_t, data_t >

Definition at line 401 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.
data_t & operator[] (size_t i)
 Array-like indexing, returns the element in the ith column of the chosen row.
const data_t & operator[] (size_t i) const
 Array-like indexing, returns the element in the ith column of the chosen row.

Protected Attributes

data_t * a
 The array pointer.

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.