|
| Matrix () |
| Null constructor.
|
|
| Matrix (T s) |
| Scalar constructor (identity times scalar)
|
|
template<typename U > |
| Matrix (const Vector< Rows, Vector< Columns, U > > &s) |
| Construct from another Vector of Vector<U> instance.
|
|
template<typename U > |
Matrix & | operator= (const Vector< Rows, Vector< Columns, U > > &s) |
| Set this instance equal to another Matrix<U> instance.
|
|
void | zero () |
|
| Vector () |
| Default constructor.
|
|
| Vector (Vector< Columns, T > x0) |
|
| Vector (Vector< Columns, T > x0, Vector< Columns, T > x1) |
|
| Vector (Vector< Columns, T > x0, Vector< Columns, T > x1, Vector< Columns, T > x2) |
|
| Vector (Vector< Columns, T > x0, Vector< Columns, T > x1, Vector< Columns, T > x2, Vector< Columns, T > x3) |
|
| Vector (const Vector< N, U > &s) |
| Construct from another Vector<U> instance.
|
|
Vector & | operator= (const Vector< N, U > &s) |
| Set this instance equal to another Vector<U> instance.
|
|
Vector & | operator= (const Vector< Columns, T > &scalar) |
| Set this instance equal to a scalar.
|
|
Vector & | operator+= (const Vector &s) |
| Vector addition.
|
|
Vector & | operator-= (const Vector &s) |
| Vector subtraction.
|
|
Vector & | operator*= (const U &a) |
| Scalar multiplication. More...
|
|
Vector & | operator/= (const U &a) |
| Scalar division.
|
|
bool | operator== (const Vector &b) const |
| Equality.
|
|
bool | operator!= (const Vector &b) const |
| Inequality.
|
|
Vector< Columns, T > & | operator[] (unsigned n) |
| Access to elements.
|
|
const Vector< Columns, T > | operator[] (unsigned n) const |
| Alternative access to elements.
|
|
unsigned | size () const |
| Dimension of data.
|
|
template<unsigned Rows, unsigned Columns, typename T>
class Matrix< Rows, Columns, T >
Matrix is a column vector of row vectors.