AndroMeta  2.0.0
Classes | Typedefs | Functions
AndroMeta/include/AndroMeta/MPLVector.h File Reference

A statically sized vector for interoperability with the the MPL sub-framework. More...

#include <AndroMeta/MVar.h>
#include <cmath>

Go to the source code of this file.

Classes

class  Meta::MPLVector< T, N >
 A statically sized vector for interoperability with the the MPL sub-framework. More...

Typedefs

typedef MPLVector< int32_t, 2 > Meta::MPLVec::int2
typedef MPLVector< int32_t, 3 > Meta::MPLVec::int3
typedef MPLVector< int32_t, 4 > Meta::MPLVec::int4
typedef MPLVector< int32_t, 8 > Meta::MPLVec::int8
typedef MPLVector< int32_t, 16 > Meta::MPLVec::int16
typedef MPLVector< int64_t, 2 > Meta::MPLVec::long2
typedef MPLVector< int64_t, 3 > Meta::MPLVec::long3
typedef MPLVector< int64_t, 4 > Meta::MPLVec::long4
typedef MPLVector< int64_t, 8 > Meta::MPLVec::long8
typedef MPLVector< int64_t, 16 > Meta::MPLVec::long16
typedef MPLVector< float, 2 > Meta::MPLVec::float2
typedef MPLVector< float, 3 > Meta::MPLVec::float3
typedef MPLVector< float, 4 > Meta::MPLVec::float4
typedef MPLVector< float, 8 > Meta::MPLVec::float8
typedef MPLVector< float, 16 > Meta::MPLVec::float16
typedef MPLVector< double, 2 > Meta::MPLVec::double2
typedef MPLVector< double, 3 > Meta::MPLVec::double3
typedef MPLVector< double, 4 > Meta::MPLVec::double4
typedef MPLVector< double, 8 > Meta::MPLVec::double8
typedef MPLVector< double, 16 > Meta::MPLVec::double16

Functions

template<typename T , size_t N>
std::ostream & Meta::operator<< (std::ostream &ostr, const MPLVector< T, N > &v)
template<typename T , size_t N>
MPLVector< T, N > Meta::MFunc::crossProduct (const MPLVector< T, N > &u, const MPLVector< T, N > &v)
template<typename T , size_t N>
Meta::MFunc::dotProduct (const MPLVector< T, N > &u, const MPLVector< T, N > &v)
template<typename T , size_t N>
Meta::MFunc::mdistance (const MPLVector< T, N > &u, const MPLVector< T, N > &v)

Detailed Description

A statically sized vector for interoperability with the the MPL sub-framework.