FreePOOMA
2.4.1
|
An interface class for an N-dimensional vector of numeric objects, and an engine class for defining a general vector. More...
#include "Utilities/PAssert.h"
#include "Utilities/ElementProperties.h"
#include "PETE/PETE.h"
#include "Pooma/PoomaOperatorTags.h"
#include "Domain/Loc.h"
#include "Tiny/VectorElements.h"
#include "Tiny/VectorOperators.h"
#include <ios>
Classes | |
class | Vector< Dim, T, EngineTag > |
Vector is an interface class that takes three template parameters: More... | |
struct | ElementProperties< Vector< D, T, E > > |
class | VectorEngine< D, T, Full > |
Definitions for a Full vector. More... | |
struct | VectorElem< VectorEngine< D, T, Full >, I > |
struct | ComponentAccess< Vector< D, T, E >, Loc< N > > |
Functions | |
template<class T > | |
void | reverseBytes (T &) |
The exported interface to the above template is the global reverseBytes template. | |
template<int D, class T , class E > | |
std::ostream & | operator<< (std::ostream &out, const Vector< D, T, E > &v) |
Output to a stream. |
An interface class for an N-dimensional vector of numeric objects, and an engine class for defining a general vector.
void reverseBytes | ( | T & | t | ) | [inline] |
The exported interface to the above template is the global reverseBytes template.
The general template delegates directly to the ByteReverser class above.
References reverseBytes().
Referenced by reverseBytes(), VectorEngine< D, T, Full >::reverseBytes(), TinyMatrixEngine< D1, D2, T, Full >::reverseBytes(), TensorEngine< D, T, Full >::reverseBytes(), TensorEngine< D, T, Antisymmetric >::reverseBytes(), TensorEngine< D, T, Symmetric >::reverseBytes(), and TensorEngine< D, T, Diagonal >::reverseBytes().
std::ostream& operator<< | ( | std::ostream & | out, |
const Vector< D, T, E > & | v | ||
) |
Output to a stream.
The format is: (v(0),v(1),...,v(D-1))