Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

RazorBack::Matstorage_ Class Template Reference

Matstorage_: helper class that contains an STL vector and its length. More...

#include <Basemat.hh>

List of all members.

Public Methods

 Matstorage_ (size_t N=0)
 default ctor.

const vector<T_>& elems () const
 access.

vector<T_>& elems ()
size_t eno () const
size_t eno (size_t Enew)

Private Attributes

vector<T_> Elems
size_t Eno


Detailed Description

template<class T_> class RazorBack::Matstorage_

Matstorage_: helper class that contains an STL vector and its length.

All matrices have their elements represented in this STL vector, usually in row major order. Objects of this class are stored in Refstorage_ templates which support copy-on-write (see below).

Definition at line 64 of file Basemat.hh.


Constructor & Destructor Documentation

template<class T_>
RazorBack::Matstorage_<T_>::Matstorage_<T_> ( size_t N = 0 ) [inline, explicit]
 

default ctor.

Definition at line 74 of file Basemat.hh.


Member Function Documentation

template<class T_>
const vector< T_ > & RazorBack::Matstorage_<T_>::elems ( ) const [inline]
 

access.

Definition at line 77 of file Basemat.hh.

template<class T_>
vector< T_ > & RazorBack::Matstorage_<T_>::elems<T_> ( ) [inline]
 

Definition at line 78 of file Basemat.hh.

template<class T_>
size_t RazorBack::Matstorage_<T_>::eno ( ) const [inline]
 

Definition at line 79 of file Basemat.hh.

template<class T_>
size_t RazorBack::Matstorage_<T_>::eno ( size_t Enew ) [inline]
 

Definition at line 80 of file Basemat.hh.


Member Data Documentation

template<class T_>
vector<T_> RazorBack::Matstorage_<T_>::Elems [private]
 

Definition at line 67 of file Basemat.hh.

template<class T_>
size_t RazorBack::Matstorage_<T_>::Eno [private]
 

Definition at line 68 of file Basemat.hh.


The documentation for this class was generated from the following file:
Generated at Wed Aug 21 09:33:25 2002 for The Razorback C++ Library: Linear Algebra by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001