geomc 1.0
A c++ linear algebra template library
Public Types | Public Member Functions | Public Attributes | List of all members
GenericStorage< T, N, STORAGE_WRAPPED > Struct Template Reference
Inheritance diagram for GenericStorage< T, N, STORAGE_WRAPPED >:
WrappedStorage< T, N >

Public Types

typedef WrappedStorage< T, N > type
 

Public Member Functions

 GenericStorage (index_t n, T *srcdata)
 
 GenericStorage (index_t n)
 
T * get ()
 Return a pointer to the first element in the storage array.
 
const T * get () const
 Return a const pointer to the first element in the storage array.
 
index_t size () const
 Return the number of elements in the array.
 
T & operator[] (index_t idx)
 Return a reference to the ith element in the array.
 
operator[] (index_t idx) const
 Return the ith element in the array.
 

Public Attributes

T * data
 
Dimension< N >::storage_t dim
 

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