|
| | Vector3 ()=default |
| |
| | Vector3 (const Matrix31 &other) |
| |
| | Vector3 (const Type data_[3]) |
| |
| | Vector3 (Type x, Type y, Type z) |
| |
| template<size_t P, size_t Q> |
| | Vector3 (const Slice< Type, 3, 1, P, Q > &slice_in) |
| |
| Vector3 | cross (const Matrix31 &b) const |
| |
| Vector3 | operator+ (Vector3 other) const |
| | Override matrix ops so Vector3 type is returned. More...
|
| |
| Vector3 | operator- (Vector3 other) const |
| |
| Vector3 | operator- () const |
| |
| Vector3 | operator* (Type scalar) const |
| |
| Type | operator* (Vector3 b) const |
| |
| Vector3 | operator% (const Matrix31 &b) const |
| |
| Vector3 | unit () const |
| | Override vector ops so Vector3 type is returned. More...
|
| |
| Vector3 | normalized () const |
| |
| const Slice< Type, 2, 1, 3, 1 > | xy () const |
| |
| Slice< Type, 2, 1, 3, 1 > | xy () |
| |
| Dcm< Type > | hat () const |
| |
| | Vector ()=default |
| |
| | Vector (const MatrixM1 &other) |
| |
| | Vector (const Type data_[M]) |
| |
| | Vector (const Slice< Type, M, 1, P, Q > &slice_in) |
| |
| Type | operator() (size_t i) const |
| |
| Type & | operator() (size_t i) |
| |
| Type | dot (const MatrixM1 &b) const |
| |
| Type | operator* (const MatrixM1 &b) const |
| |
| Vector | operator* (Type b) const |
| |
| Type | norm () const |
| |
| Type | norm_squared () const |
| |
| Type | length () const |
| |
| void | normalize () |
| |
| Vector | unit () const |
| |
| Vector | unit_or_zero (const Type eps=Type(1e-5)) const |
| |
| Vector | normalized () const |
| |
| bool | longerThan (Type testVal) const |
| |
| Vector | sqrt () const |
| |
| | Matrix ()=default |
| |
| | Matrix (const Type data_[M *N]) |
| |
| | Matrix (const Type data_[M][N]) |
| |
| | Matrix (const Matrix &other) |
| |
| | Matrix (const Slice< Type, M, N, P, Q > &in_slice) |
| |
| Type | operator() (size_t i, size_t j) const |
| | Accessors/ Assignment etc. More...
|
| |
| Type & | operator() (size_t i, size_t j) |
| |
| Matrix< Type, M, N > & | operator= (const Matrix< Type, M, N > &other) |
| |
| void | copyTo (Type dst[M *N]) const |
| |
| void | copyToColumnMajor (Type dst[M *N]) const |
| |
| Matrix< Type, M, P > | operator* (const Matrix< Type, N, P > &other) const |
| | Matrix Operations. More...
|
| |
| Matrix< Type, M, N > | operator* (Type scalar) const |
| | Scalar Operations. More...
|
| |
| Matrix< Type, M, N > | emult (const Matrix< Type, M, N > &other) const |
| |
| Matrix< Type, M, N > | edivide (const Matrix< Type, M, N > &other) const |
| |
| Matrix< Type, M, N > | operator+ (const Matrix< Type, M, N > &other) const |
| |
| Matrix< Type, M, N > | operator+ (Type scalar) const |
| |
| Matrix< Type, M, N > | operator- (const Matrix< Type, M, N > &other) const |
| |
| Matrix< Type, M, N > | operator- () const |
| |
| Matrix< Type, M, N > | operator- (Type scalar) const |
| |
| void | operator+= (const Matrix< Type, M, N > &other) |
| |
| void | operator+= (Type scalar) |
| |
| void | operator-= (const Matrix< Type, M, N > &other) |
| |
| void | operator-= (Type scalar) |
| |
| void | operator*= (const Matrix< Type, N, P > &other) |
| |
| void | operator*= (Type scalar) |
| |
| Matrix< Type, M, N > | operator/ (Type scalar) const |
| |
| void | operator/= (Type scalar) |
| |
| bool | operator== (const Matrix< Type, M, N > &other) const |
| |
| bool | operator!= (const Matrix< Type, M, N > &other) const |
| |
| void | write_string (char *buf, size_t n) const |
| | Misc. More...
|
| |
| void | print (FILE *stream=stdout) const |
| |
| Matrix< Type, N, M > | transpose () const |
| |
| Matrix< Type, N, M > | T () const |
| |
| const Slice< Type, P, Q, M, N > | slice (size_t x0, size_t y0) const |
| |
| Slice< Type, P, Q, M, N > | slice (size_t x0, size_t y0) |
| |
| const Slice< Type, 1, N, M, N > | row (size_t i) const |
| |
| Slice< Type, 1, N, M, N > | row (size_t i) |
| |
| const Slice< Type, M, 1, M, N > | col (size_t j) const |
| |
| Slice< Type, M, 1, M, N > | col (size_t j) |
| |
| void | setRow (size_t i, const Matrix< Type, N, 1 > &row_in) |
| |
| void | setCol (size_t j, const Matrix< Type, M, 1 > &column) |
| |
| void | setZero () |
| |
| void | zero () |
| |
| void | setAll (Type val) |
| |
| void | setOne () |
| |
| void | setNaN () |
| |
| void | setIdentity () |
| |
| void | identity () |
| |
| void | swapRows (size_t a, size_t b) |
| |
| void | swapCols (size_t a, size_t b) |
| |
| Matrix< Type, M, N > | abs () const |
| |
| Type | max () const |
| |
| Type | min () const |
| |
| bool | isAllNan () const |
| |
template<typename Type>
class matrix::Vector3< Type >
Definition at line 29 of file Vector3.hpp.