|
Public Types |
typedef P_numtype | T_numtype |
typedef Vector< T_numtype > | T_vector |
typedef VectorIter< T_numtype > | T_iterator |
typedef VectorIterConst< T_numtype > | T_constIterator |
typedef VectorPick< T_numtype > | T_pick |
typedef Vector< int > | T_indexVector |
Public Member Functions |
| Vector () |
| Vector (const Vector< T_numtype > &vec) |
| Vector (int length) |
| Vector (const Vector< T_numtype > &vec, Range r) |
| Vector (int length, T_numtype initValue) |
| Vector (int length, T_numtype firstValue, T_numtype delta) |
template<typename P_distribution> |
| Vector (int length, Random< P_distribution > &random) |
template<typename P_expr> |
| Vector (_bz_VecExpr< P_expr > expr) |
| Vector (int length, T_numtype *restrict data, int stride=1) |
| Vector (Range r) |
void | assertUnitStride () |
T_iterator | beginFast () |
T_constIterator | beginFast () const |
T_vector | copy () const |
T_numtype *restrict | data () |
const T_numtype *restrict | data () const |
bool | isUnitStride () const |
int | length () const |
void | makeUnique () |
void | reference (T_vector &) |
void | resize (int length) |
void | resizeAndPreserve (int newLength) |
T_vector | reverse () |
int | stride () const |
| operator _bz_VecExpr () const |
int | _bz_suggestLength () const |
bool | _bz_hasFastAccess () const |
T_numtype & | _bz_fastAccess (int i) |
T_numtype | _bz_fastAccess (int i) const |
template<typename P_expr, typename P_updater> |
void | _bz_assign (P_expr, P_updater) |
_bz_VecExpr< T_constIterator > | _bz_asVecExpr () const |
T_numtype | operator() (int i) const |
T_numtype &restrict | operator() (int i) |
T_numtype | operator[] (int i) const |
T_numtype &restrict | operator[] (int i) |
T_vector | operator() (Range r) |
T_vector | operator[] (Range r) |
T_pick | operator() (T_indexVector i) |
T_pick | operator[] (T_indexVector i) |
ListInitializationSwitch<
T_vector, T_iterator > | operator= (T_numtype x) |
T_iterator | getInitializationIterator () |
T_vector & | initialize (T_numtype) |
T_vector & | operator+= (T_numtype) |
T_vector & | operator-= (T_numtype) |
T_vector & | operator *= (T_numtype) |
T_vector & | operator/= (T_numtype) |
T_vector & | operator%= (T_numtype) |
T_vector & | operator^= (T_numtype) |
T_vector & | operator &= (T_numtype) |
T_vector & | operator|= (T_numtype) |
T_vector & | operator>>= (int) |
T_vector & | operator<<= (int) |
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= (Range) |
T_vector & | operator+= (Range) |
T_vector & | operator-= (Range) |
T_vector & | operator *= (Range) |
T_vector & | operator/= (Range) |
T_vector & | operator%= (Range) |
T_vector & | operator^= (Range) |
T_vector & | operator &= (Range) |
T_vector & | operator|= (Range) |
T_vector & | operator>>= (Range) |
T_vector & | operator<<= (Range) |
template<typename P_distribution> |
T_vector & | operator= (Random< P_distribution > &random) |
template<typename P_distribution> |
T_vector & | operator+= (Random< P_distribution > &random) |
template<typename P_distribution> |
T_vector & | operator-= (Random< P_distribution > &random) |
template<typename P_distribution> |
T_vector & | operator *= (Random< P_distribution > &random) |
template<typename P_distribution> |
T_vector & | operator/= (Random< P_distribution > &random) |
template<typename P_distribution> |
T_vector & | operator%= (Random< P_distribution > &random) |
template<typename P_distribution> |
T_vector & | operator^= (Random< P_distribution > &random) |
template<typename P_distribution> |
T_vector & | operator &= (Random< P_distribution > &random) |
template<typename P_distribution> |
T_vector & | operator|= (Random< P_distribution > &random) |
Private Types |
typedef MemoryBlockReference<
P_numtype > | T_base |
Private Attributes |
int | length_ |
int | stride_ |
T_type *restrict | data_ |