blitz
Version 0.9
|
#include <tinyvec.h>
Public Types | |
enum | { numElements = N_length } |
typedef P_numtype | T_numtype |
typedef TinyVector< T_numtype, N_length > | T_vector |
typedef TinyVectorIter < T_numtype, N_length, 1 > | T_iterator |
typedef TinyVectorIterConst < T_numtype, N_length, 1 > | T_constIterator |
typedef T_numtype * | iterator |
typedef const T_numtype * | const_iterator |
Public Member Functions | |
TinyVector () | |
~TinyVector () | |
TinyVector (const TinyVector< T_numtype, N_length > &x) | |
template<typename T_numtype2 > | |
TinyVector (const TinyVector< T_numtype2, N_length > &x) | |
TinyVector (const T_numtype initValue) | |
TinyVector (const T_numtype x[]) | |
TinyVector (T_numtype x0, T_numtype x1) | |
TinyVector (T_numtype x0, T_numtype x1, T_numtype x2) | |
TinyVector (T_numtype x0, T_numtype x1, T_numtype x2, T_numtype x3) | |
TinyVector (T_numtype x0, T_numtype x1, T_numtype x2, T_numtype x3, T_numtype x4) | |
TinyVector (T_numtype x0, T_numtype x1, T_numtype x2, T_numtype x3, T_numtype x4, T_numtype x5) | |
TinyVector (T_numtype x0, T_numtype x1, T_numtype x2, T_numtype x3, T_numtype x4, T_numtype x5, T_numtype x6) | |
TinyVector (T_numtype x0, T_numtype x1, T_numtype x2, T_numtype x3, T_numtype x4, T_numtype x5, T_numtype x6, T_numtype x7) | |
TinyVector (T_numtype x0, T_numtype x1, T_numtype x2, T_numtype x3, T_numtype x4, T_numtype x5, T_numtype x6, T_numtype x7, T_numtype x8) | |
TinyVector (T_numtype x0, T_numtype x1, T_numtype x2, T_numtype x3, T_numtype x4, T_numtype x5, T_numtype x6, T_numtype x7, T_numtype x8, T_numtype x9) | |
TinyVector (T_numtype x0, T_numtype x1, T_numtype x2, T_numtype x3, T_numtype x4, T_numtype x5, T_numtype x6, T_numtype x7, T_numtype x8, T_numtype x9, T_numtype x10) | |
template<typename P_expr > | |
TinyVector (_bz_VecExpr< P_expr > expr) | |
T_iterator | beginFast () |
T_constIterator | beginFast () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
T_numtype *restrict | data () |
const T_numtype *restrict | data () const |
T_numtype *restrict | dataFirst () |
const T_numtype *restrict | dataFirst () const |
unsigned | length () const |
unsigned | _bz_suggestLength () const |
bool | _bz_hasFastAccess () const |
T_numtype &restrict | _bz_fastAccess (unsigned i) |
T_numtype | _bz_fastAccess (unsigned i) const |
template<typename P_expr , typename P_updater > | |
void | _bz_assign (P_expr, P_updater) |
_bz_VecExpr< T_constIterator > | _bz_asVecExpr () const |
bool | lengthCheck (unsigned i) const |
const T_numtype & | operator() (unsigned i) const |
T_numtype &restrict | operator() (unsigned i) |
const T_numtype & | operator[] (unsigned i) const |
T_numtype &restrict | operator[] (unsigned i) |
ListInitializationSwitch < T_vector, T_numtype * > | operator= (T_numtype x) |
T_vector & | initialize (const T_numtype) |
T_vector & | operator+= (const T_numtype) |
T_vector & | operator-= (const T_numtype) |
T_vector & | operator*= (const T_numtype) |
T_vector & | operator/= (const T_numtype) |
T_vector & | operator%= (const T_numtype) |
T_vector & | operator^= (const T_numtype) |
T_vector & | operator&= (const T_numtype) |
T_vector & | operator|= (const T_numtype) |
T_vector & | operator>>= (const int) |
T_vector & | operator<<= (const int) |
template<typename P_numtype2 > | |
T_vector & | operator= (const TinyVector< P_numtype2, N_length > &) |
template<typename P_numtype2 > | |
T_vector & | operator+= (const TinyVector< P_numtype2, N_length > &) |
template<typename P_numtype2 > | |
T_vector & | operator-= (const TinyVector< P_numtype2, N_length > &) |
template<typename P_numtype2 > | |
T_vector & | operator*= (const TinyVector< P_numtype2, N_length > &) |
template<typename P_numtype2 > | |
T_vector & | operator/= (const TinyVector< P_numtype2, N_length > &) |
template<typename P_numtype2 > | |
T_vector & | operator%= (const TinyVector< P_numtype2, N_length > &) |
template<typename P_numtype2 > | |
T_vector & | operator^= (const TinyVector< P_numtype2, N_length > &) |
template<typename P_numtype2 > | |
T_vector & | operator&= (const TinyVector< P_numtype2, N_length > &) |
template<typename P_numtype2 > | |
T_vector & | operator|= (const TinyVector< P_numtype2, N_length > &) |
template<typename P_numtype2 > | |
T_vector & | operator>>= (const TinyVector< P_numtype2, N_length > &) |
template<typename P_numtype2 > | |
T_vector & | operator<<= (const TinyVector< P_numtype2, N_length > &) |
template<typename P_numtype2 > | |
T_vector & | operator= (const Vector< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator+= (const Vector< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator-= (const Vector< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator*= (const Vector< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator/= (const Vector< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator%= (const Vector< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator^= (const Vector< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator&= (const Vector< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator|= (const Vector< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator>>= (const Vector< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator<<= (const Vector< P_numtype2 > &) |
template<typename P_expr > | |
T_vector & | operator= (_bz_VecExpr< P_expr >) |
template<typename P_expr > | |
T_vector & | operator+= (_bz_VecExpr< P_expr >) |
template<typename P_expr > | |
T_vector & | operator-= (_bz_VecExpr< P_expr >) |
template<typename P_expr > | |
T_vector & | operator*= (_bz_VecExpr< P_expr >) |
template<typename P_expr > | |
T_vector & | operator/= (_bz_VecExpr< P_expr >) |
template<typename P_expr > | |
T_vector & | operator%= (_bz_VecExpr< P_expr >) |
template<typename P_expr > | |
T_vector & | operator^= (_bz_VecExpr< P_expr >) |
template<typename P_expr > | |
T_vector & | operator&= (_bz_VecExpr< P_expr >) |
template<typename P_expr > | |
T_vector & | operator|= (_bz_VecExpr< P_expr >) |
template<typename P_expr > | |
T_vector & | operator>>= (_bz_VecExpr< P_expr >) |
template<typename P_expr > | |
T_vector & | operator<<= (_bz_VecExpr< P_expr >) |
template<typename P_numtype2 > | |
T_vector & | operator= (const VectorPick< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator+= (const VectorPick< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator-= (const VectorPick< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator*= (const VectorPick< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator/= (const VectorPick< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator%= (const VectorPick< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator^= (const VectorPick< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator&= (const VectorPick< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator|= (const VectorPick< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator>>= (const VectorPick< P_numtype2 > &) |
template<typename P_numtype2 > | |
T_vector & | operator<<= (const VectorPick< P_numtype2 > &) |
T_vector & | operator= (const Range &) |
T_vector & | operator+= (const Range &) |
T_vector & | operator-= (const Range &) |
T_vector & | operator*= (const Range &) |
T_vector & | operator/= (const Range &) |
T_vector & | operator%= (const Range &) |
T_vector & | operator^= (const Range &) |
T_vector & | operator&= (const Range &) |
T_vector & | operator|= (const Range &) |
T_vector & | operator>>= (const Range &) |
T_vector & | operator<<= (const Range &) |
T_numtype *restrict | getInitializationIterator () |
Private Attributes | |
T_numtype | data_ [N_length] |
typedef const T_numtype* TinyVector< P_numtype, N_length >::const_iterator |
typedef T_numtype* TinyVector< P_numtype, N_length >::iterator |
typedef TinyVectorIterConst<T_numtype,N_length,1> TinyVector< P_numtype, N_length >::T_constIterator |
typedef TinyVectorIter<T_numtype,N_length,1> TinyVector< P_numtype, N_length >::T_iterator |
typedef P_numtype TinyVector< P_numtype, N_length >::T_numtype |
typedef TinyVector<T_numtype,N_length> TinyVector< P_numtype, N_length >::T_vector |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void TinyVector< P_numtype, N_length >::_bz_assign | ( | P_expr | , |
P_updater | |||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
T_vector& TinyVector< P_numtype, N_length >::initialize | ( | const T_numtype | ) |
|
inline |
|
inline |
T_vector& TinyVector< P_numtype, N_length >::operator%= | ( | const T_numtype | ) |
T_vector& TinyVector< P_numtype, N_length >::operator%= | ( | const TinyVector< P_numtype2, N_length > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator%= | ( | const Vector< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator%= | ( | _bz_VecExpr< P_expr > | ) |
T_vector& TinyVector< P_numtype, N_length >::operator%= | ( | const VectorPick< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator%= | ( | const Range & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator&= | ( | const T_numtype | ) |
T_vector& TinyVector< P_numtype, N_length >::operator&= | ( | const TinyVector< P_numtype2, N_length > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator&= | ( | const Vector< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator&= | ( | _bz_VecExpr< P_expr > | ) |
T_vector& TinyVector< P_numtype, N_length >::operator&= | ( | const VectorPick< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator&= | ( | const Range & | ) |
|
inline |
|
inline |
T_vector& TinyVector< P_numtype, N_length >::operator*= | ( | const T_numtype | ) |
T_vector& TinyVector< P_numtype, N_length >::operator*= | ( | const TinyVector< P_numtype2, N_length > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator*= | ( | const Vector< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator*= | ( | _bz_VecExpr< P_expr > | ) |
T_vector& TinyVector< P_numtype, N_length >::operator*= | ( | const VectorPick< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator*= | ( | const Range & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator+= | ( | const T_numtype | ) |
T_vector& TinyVector< P_numtype, N_length >::operator+= | ( | const TinyVector< P_numtype2, N_length > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator+= | ( | const Vector< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator+= | ( | _bz_VecExpr< P_expr > | ) |
T_vector& TinyVector< P_numtype, N_length >::operator+= | ( | const VectorPick< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator+= | ( | const Range & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator-= | ( | const T_numtype | ) |
T_vector& TinyVector< P_numtype, N_length >::operator-= | ( | const TinyVector< P_numtype2, N_length > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator-= | ( | const Vector< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator-= | ( | _bz_VecExpr< P_expr > | ) |
T_vector& TinyVector< P_numtype, N_length >::operator-= | ( | const VectorPick< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator-= | ( | const Range & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator/= | ( | const T_numtype | ) |
T_vector& TinyVector< P_numtype, N_length >::operator/= | ( | const TinyVector< P_numtype2, N_length > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator/= | ( | const Vector< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator/= | ( | _bz_VecExpr< P_expr > | ) |
T_vector& TinyVector< P_numtype, N_length >::operator/= | ( | const VectorPick< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator/= | ( | const Range & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator<<= | ( | const int | ) |
T_vector& TinyVector< P_numtype, N_length >::operator<<= | ( | const TinyVector< P_numtype2, N_length > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator<<= | ( | const Vector< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator<<= | ( | _bz_VecExpr< P_expr > | ) |
T_vector& TinyVector< P_numtype, N_length >::operator<<= | ( | const VectorPick< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator<<= | ( | const Range & | ) |
|
inline |
T_vector& TinyVector< P_numtype, N_length >::operator= | ( | const TinyVector< P_numtype2, N_length > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator= | ( | const Vector< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator= | ( | _bz_VecExpr< P_expr > | ) |
T_vector& TinyVector< P_numtype, N_length >::operator= | ( | const VectorPick< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator= | ( | const Range & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator>>= | ( | const int | ) |
T_vector& TinyVector< P_numtype, N_length >::operator>>= | ( | const TinyVector< P_numtype2, N_length > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator>>= | ( | const Vector< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator>>= | ( | _bz_VecExpr< P_expr > | ) |
T_vector& TinyVector< P_numtype, N_length >::operator>>= | ( | const VectorPick< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator>>= | ( | const Range & | ) |
|
inline |
|
inline |
T_vector& TinyVector< P_numtype, N_length >::operator^= | ( | const T_numtype | ) |
T_vector& TinyVector< P_numtype, N_length >::operator^= | ( | const TinyVector< P_numtype2, N_length > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator^= | ( | const Vector< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator^= | ( | _bz_VecExpr< P_expr > | ) |
T_vector& TinyVector< P_numtype, N_length >::operator^= | ( | const VectorPick< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator^= | ( | const Range & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator|= | ( | const T_numtype | ) |
T_vector& TinyVector< P_numtype, N_length >::operator|= | ( | const TinyVector< P_numtype2, N_length > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator|= | ( | const Vector< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator|= | ( | _bz_VecExpr< P_expr > | ) |
T_vector& TinyVector< P_numtype, N_length >::operator|= | ( | const VectorPick< P_numtype2 > & | ) |
T_vector& TinyVector< P_numtype, N_length >::operator|= | ( | const Range & | ) |
|
private |