#include <Vector.H>
Inheritance diagram for xchen::Vector< T, Sz >:

[NOHEADER] | |
| typedef T | value_type |
| interface as std::vector | |
| typedef T & | reference |
| interface as std::vector | |
| typedef const T & | const_reference |
| interface as std::vector | |
| typedef T * | iterator |
| interface as std::vector | |
| typedef const T * | const_iterator |
| interface as std::vector | |
| typedef std::reverse_iterator< iterator > | reverse_iterator |
| interface as std::vector | |
| typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
| interface as std::vector | |
| iterator | begin () |
| interface as std::vector | |
| iterator | end () |
| interface as std::vector | |
| const_iterator | begin () const |
| interface as std::vector | |
| const_iterator | end () const |
| interface as std::vector | |
| reverse_iterator | rbegin () |
| interface as std::vector | |
| const_reverse_iterator | rbegin () const |
| interface as std::vector | |
| reverse_iterator | rend () |
| interface as std::vector | |
| const_reverse_iterator | rend () const |
| interface as std::vector | |
| T | front () |
| interface as std::vector | |
| const_reference | front () const |
| interface as std::vector | |
| T | back () |
| interface as std::vector | |
| const_reference | back () const |
| interface as std::vector | |
| T & | operator[] (size_t idx) |
| interface as std::vector | |
| const T & | operator[] (size_t idx) const |
| interface as std::vector | |
| bool | operator< (Vector const &rhs) const |
| interface as std::vector | |
| bool | operator== (const Vector &rhs) const |
| interface as std::vector | |
| bool | empty () |
| interface as std::vector | |
| size_t | max_size () |
| interface as std::vector | |
Public Methods | |
| Vector (const_iterator itr) | |
| assume enough data elements given | |
| template<class T2, int Sz2> | Vector (const Vector< T2, Sz2 > &rhs) |
| constructor from hetergenous Vector | |
| template<class T2> | Vector (const BaseVector< T2 > &rhs) |
| constructor from hetergenous BaseVector | |
| Vector () | |
| ListAssignmentCheckSzCt< T, T *, Sz-1 > | operator= (T x) |
| size_t | size () const |
| Vector (R e0) | |
| constructors from element list. If not enough elements given, default to 0. | |
| Vector (R e0, R e1) | |
| constructors from element list. If not enough elements given, default to 0. | |
| Vector (R e0, R e1, R e2) | |
| constructors from element list. If not enough elements given, default to 0. | |
| Vector (R e0, R e1, R e2, R e3) | |
| constructors from element list. If not enough elements given, default to 0. | |
| Vector (R e0, R e1, R e2, R e3, R e4) | |
| constructors from element list. If not enough elements given, default to 0. | |
| Vector (R e0, R e1, R e2, R e3, R e4, R e5) | |
| constructors from element list. If not enough elements given, default to 0. | |
| Vector | operator- () |
| vector operations. | |
| Vector & | operator+= (const Vector &r) |
| vector operations. | |
| Vector & | operator-= (const Vector &r) |
| vector operations. | |
| Vector & | operator *= (double s) |
| vector operations. | |
| Vector & | operator/= (double s) |
| vector operations. | |
| Vector | operator+ (const Vector &r) const |
| vector operations. | |
| Vector | operator- (const Vector &r) const |
| vector operations. | |
| Vector | operator * (double s) const |
| vector operations. | |
| Vector | operator/ (double s) const |
| vector operations. | |
| Vector & | Sxw (T s) |
| scale x and w components. | |
| Vector & | Syw (T s) |
| scale y and w components. | |
| Vector & | Szw (T s) |
| scale z and w components. | |
| T * | GetData () |
| vector operations. | |
| const T * | GetData () const |
| vector operations. | |
| T | operator * (const Vector &r) const |
| vector operations. | |
| Vector | operator^ (const Vector &r) const |
| vector operations. | |
| Vector & | operator^= (const Vector &r) |
| vector operations. | |
| double | GetNorm () const |
| vector operations. | |
| T | GetSquareNorm () const |
| vector operations. | |
| void | Normalize () |
| vector operations. | |
| Vector | GetNormalizedVector () const |
| vector operations. | |
| Vector | GetProject2Sphere () const |
| vector operations. | |
| Vector | GetProject2AffinePlane () const |
| vector operations. | |
| Vector | GetProjection (const Vector &r) const |
| vector operations. | |
| Vector< T, Sz-1 > | GetProjection () const |
| vector operations. | |
| Vector< T, Sz+1 > | GetPromotion () const |
| vector operations. | |
| double | Distance (const Vector &v) const |
| vector operations. | |
| double | Angle (const Vector &r) const |
| vector operations. | |
| T | LinearCombine (const Vector< double, Sz > lambda) const |
| operation on vector of (column) vectors | |
| T | AffineCombine (const Vector< double, Sz > lambda) const |
| operation on vector of (column) vectors | |
| T | VectorCombine (const Vector< double, Sz > lambda) const |
| operation on vector of (column) vectors | |
Friends | |
| ostream & | operator (ostream &os, const Vector &v) |
| istream & | operator>> (istream &is, Vector &v) |
|
|||||
|
interface as std::vector
|
|
|||||
|
interface as std::vector
|
|
|||||
|
interface as std::vector
|
|
|||||
|
interface as std::vector
|
|
|||||
|
interface as std::vector
|
|
|||||
|
interface as std::vector
|
|
|||||
|
interface as std::vector
|
|
||||||||||
|
assume enough data elements given
|
|
||||||||||||||
|
constructor from hetergenous Vector
|
|
||||||||||||||
|
constructor from hetergenous BaseVector
|
|
|||||||||
|
|
|
||||||||||
|
constructors from element list. If not enough elements given, default to 0.
|
|
||||||||||||||||
|
constructors from element list. If not enough elements given, default to 0.
|
|
||||||||||||||||||||
|
constructors from element list. If not enough elements given, default to 0.
|
|
||||||||||||||||||||||||
|
constructors from element list. If not enough elements given, default to 0.
|
|
||||||||||||||||||||||||||||
|
constructors from element list. If not enough elements given, default to 0.
|
|
||||||||||||||||||||||||||||||||
|
constructors from element list. If not enough elements given, default to 0.
|
|
||||||||||
|
operation on vector of (column) vectors
|
|
||||||||||
|
vector operations.
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
interface as std::vector
|
|
||||||||||
|
vector operations.
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
vector operations.
|
|
|||||||||
|
vector operations.
|
|
|||||||||
|
vector operations.
|
|
|||||||||
|
vector operations.
|
|
|||||||||
|
vector operations.
|
|
|||||||||
|
vector operations.
|
|
|||||||||
|
vector operations.
|
|
||||||||||
|
vector operations.
|
|
|||||||||
|
vector operations.
|
|
|||||||||
|
vector operations.
|
|
||||||||||
|
operation on vector of (column) vectors
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
vector operations.
|
|
||||||||||
|
vector operations.
|
|
||||||||||
|
vector operations.
|
|
||||||||||
|
vector operations.
|
|
||||||||||
|
vector operations.
|
|
||||||||||
|
vector operations.
|
|
||||||||||
|
vector operations.
|
|
|||||||||
|
vector operations.
|
|
||||||||||
|
vector operations.
|
|
||||||||||
|
vector operations.
|
|
||||||||||
|
vector operations.
|
|
||||||||||
|
interface as std::vector
|
|
||||||||||
|
|
|
||||||||||
|
interface as std::vector
|
|
||||||||||
|
interface as std::vector
|
|
||||||||||
|
interface as std::vector
|
|
||||||||||
|
vector operations.
|
|
||||||||||
|
vector operations.
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
interface as std::vector
|
|
|||||||||
|
Reimplemented from xchen::BaseVector< T >. |
|
||||||||||
|
scale x and w components.
|
|
||||||||||
|
scale y and w components.
|
|
||||||||||
|
scale z and w components.
|
|
||||||||||
|
operation on vector of (column) vectors
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
1.2.18