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

Column of a 2d array. More...

#include <array.h>


Detailed Description

template<size_t R, size_t C, class data_t = double>
class array_2d_col< R, C, data_t >

This works because two-dimensional arrays are always continguous (as indicated in appendix C of Soustroup's book).

Definition at line 367 of file array.h.

Public Member Functions

 array_2d_col (data_t mat[R][C], size_t i)
 Create an object as the ith column of mat.
data_t & operator[] (size_t i)
 Array-like indexing.
const data_t & operator[] (size_t i) const
 Array-like indexing.

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.