#include <rn.hh>
Inheritance diagram for RVL::RnArray< Scalar >:
Public Member Functions | |
RnArray (const RnArray< Scalar > &x) | |
deep copy, following example of stl containers | |
RnArray (size_t _n) | |
main constructor: dimension passed as sole argument. | |
RnArray (LocalDataContainer< Scalar > &rn, size_t len, size_t _start=0) | |
constructor which gives a "view" of another RnArray. | |
~RnArray () | |
size_t | getSize () const |
Scalar * | getData () |
Scalar const * | getData () const |
void | write (RVLException &str) const |
ostream & | write (ostream &str) const |
This class will likely serve as the base class for a wide variety of LDCs.
Definition at line 45 of file rn.hh.
RVL::RnArray< Scalar >::RnArray | ( | const RnArray< Scalar > & | x | ) |
RVL::RnArray< Scalar >::RnArray | ( | size_t | _n | ) |
RVL::RnArray< Scalar >::RnArray | ( | LocalDataContainer< Scalar > & | rn, | |
size_t | len, | |||
size_t | _start = 0 | |||
) |
RVL::RnArray< Scalar >::~RnArray | ( | ) |
size_t RVL::RnArray< Scalar >::getSize | ( | ) | const [virtual] |
Implements RVL::LocalDataContainer< Scalar >.
Definition at line 94 of file rn.hh.
Referenced by RVL::RnDataContainerFactory< T >::isCompatible().
Scalar* RVL::RnArray< Scalar >::getData | ( | ) | [virtual] |
Implements RVL::LocalDataContainer< Scalar >.
Definition at line 96 of file rn.hh.
Referenced by RVL::matvec< T >::getData(), RVL::matvec< T >::getElement(), RVL::matvec< T >::matvec(), and RVL::matvec< T >::operator()().
Scalar const* RVL::RnArray< Scalar >::getData | ( | ) | const [virtual] |
void RVL::RnArray< Scalar >::write | ( | RVLException & | str | ) | const |
ostream& RVL::RnArray< Scalar >::write | ( | ostream & | str | ) | const [virtual] |