SWE
Public Member Functions
Float1D Class Reference

#include <help.hh>

List of all members.

Public Member Functions

 Float1D (float *_elem, int _rows, int _stride=1)
float & operator[] (int i)
const float & operator[] (int i) const
float * elemVector ()
int getSize () const

Detailed Description

class Float1D is a proxy class that can represent, for example, a column or row vector of a Float2D array, where row (sub-)arrays are stored with a respective stride. Besides constructor/deconstructor, the class provides overloading of the []-operator, such that elements can be accessed as v[i] (independent of the stride). The class will never allocate separate memory for the vectors, but point to the interior data structure of Float2D (or other "host" data structures).


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