|
AndroMeta
2.0.0
|
A statically sized vector for interoperability with the the MPL sub-framework. More...
#include <MPLVector.h>
Public Member Functions | |
| MPLVector () | |
| MPLVector (const mvec &v) | |
| MPLVector (const mvar &v) | |
| MPLVector< T, N > & | operator= (const mvec &v) |
| MPLVector< T, N > & | operator= (const mvar &v) |
| MPLVector< T, N > & | operator= (T x) |
| T & | operator[] (size_t i) |
| const T & | operator[] (size_t i) const |
| MPLVector< T, N > & | operator+= (const MPLVector< T, N > &v) |
| MPLVector< T, N > & | operator+= (T x) |
| MPLVector< T, N > & | operator-= (const MPLVector< T, N > &v) |
| MPLVector< T, N > & | operator-= (T x) |
| MPLVector< T, N > & | operator*= (const MPLVector< T, N > &v) |
| MPLVector< T, N > & | operator*= (T x) |
| MPLVector< T, N > & | operator/= (const MPLVector< T, N > &v) |
| MPLVector< T, N > & | operator/= (T x) |
| void | normalize () |
Static Public Member Functions | |
| static size_t | size () |
A statically sized vector for interoperability with the the MPL sub-framework.
| Meta::MPLVector< T, N >::MPLVector | ( | ) | [inline] |
Constructor.
| Meta::MPLVector< T, N >::MPLVector | ( | const mvec & | v | ) | [inline] |
Copy constructor to convert from mvec. Note that this is a relatively slow operation, so for better performance do not do this repeatedly.
| Meta::MPLVector< T, N >::MPLVector | ( | const mvar & | v | ) | [inline] |
Copy constructor to convert from mvec. Note that this is a relatively slow operation, so for better performance do not do this repeatedly.
| void Meta::MPLVector< T, N >::normalize | ( | ) | [inline] |
Normalize this vector to a unit vector.
| MPLVector<T,N>& Meta::MPLVector< T, N >::operator= | ( | const mvec & | v | ) | [inline] |
Assignment operator to convert from mvec. Note that this is a relatively slow operation, so for better performance do not do this repeatedly.
| MPLVector<T,N>& Meta::MPLVector< T, N >::operator= | ( | const mvar & | v | ) | [inline] |
Assignment operator to convert from mvar. Note that this is a relatively slow operation, so for better performance do not do this repeatedly.
| static size_t Meta::MPLVector< T, N >::size | ( | ) | [inline, static] |
1.7.6.1