Public Types |
enum | { dimensions = 1
} |
enum | { d1 = Dim
} |
typedef T | Element_t |
typedef EngineTag | EngineTag_t |
typedef VectorEngine< Dim, T,
EngineTag > | Engine_t |
typedef Engine_t::ElementRef_t | ElementRef_t |
typedef Engine_t::ConstElementRef_t | ConstElementRef_t |
typedef Vector< Dim, T, EngineTag > | This_t |
Public Member Functions |
| Vector () |
| Vector (const This_t &x) |
template<int D2, class T2 , class EngineTag2 > |
| Vector (const Vector< D2, T2, EngineTag2 > &x) |
template<class X > |
| Vector (const X &x) |
template<class X1 , class X2 > |
| Vector (const X1 &x, const X2 &y) |
template<class X1 , class X2 , class X3 > |
| Vector (const X1 &x, const X2 &y, const X3 &z) |
template<class X1 , class X2 , class X3 , class X4 > |
| Vector (const X1 &x, const X2 &y, const X3 &z, const X4 &a) |
template<class X1 , class X2 , class X3 , class X4 , class X5 > |
| Vector (const X1 &x, const X2 &y, const X3 &z, const X4 &a, const X5 &b) |
template<class X1 , class X2 , class X3 , class X4 , class X5 , class X6 > |
| Vector (const X1 &x, const X2 &y, const X3 &z, const X4 &a, const X5 &b, const X6 &c) |
template<class X1 , class X2 , class X3 , class X4 , class X5 , class X6 , class X7 > |
| Vector (const X1 &x, const X2 &y, const X3 &z, const X4 &a, const X5 &b, const X6 &c, const X7 &d) |
| ~Vector () |
This_t & | operator= (const This_t &x) |
template<class V > |
This_t & | operator= (const V &x) |
ConstElementRef_t | operator() (int i) const |
ElementRef_t | operator() (int i) |
const Engine_t & | engine () const |
Engine_t & | engine () |
template<class Out > |
void | print (Out &out) const |
| Output to a stream.
|
void | reverseBytes () |
template<int Dim, class T = double, class EngineTag = Full>
class Vector< Dim, T, EngineTag >
Vector is an interface class that takes three template parameters:
- int Dim: The number of components in the vector.
- class T: The type of the components.
- class EngineTag: A policy parameter for the storage type.
template<int Dim, class T = double, class EngineTag = Full>
template<class X1 , class X2 , class X3 , class X4 , class X5 >
Vector< Dim, T, EngineTag >::Vector |
( |
const X1 & |
x, |
|
|
const X2 & |
y, |
|
|
const X3 & |
z, |
|
|
const X4 & |
a, |
|
|
const X5 & |
b |
|
) |
| [inline] |
template<int Dim, class T = double, class EngineTag = Full>
template<class X1 , class X2 , class X3 , class X4 , class X5 , class X6 >
Vector< Dim, T, EngineTag >::Vector |
( |
const X1 & |
x, |
|
|
const X2 & |
y, |
|
|
const X3 & |
z, |
|
|
const X4 & |
a, |
|
|
const X5 & |
b, |
|
|
const X6 & |
c |
|
) |
| [inline] |
template<int Dim, class T = double, class EngineTag = Full>
template<class X1 , class X2 , class X3 , class X4 , class X5 , class X6 , class X7 >
Vector< Dim, T, EngineTag >::Vector |
( |
const X1 & |
x, |
|
|
const X2 & |
y, |
|
|
const X3 & |
z, |
|
|
const X4 & |
a, |
|
|
const X5 & |
b, |
|
|
const X6 & |
c, |
|
|
const X7 & |
d |
|
) |
| [inline] |