This class consists of two 3x1 vectors. More...
#include <deVector6.h>
Collaboration diagram for deVector6:
Public Member Functions | |
DE_MATH_API deVector3 & | operator[] (deInt row) |
DE_MATH_API const deVector3 & | operator[] (deInt row) const |
DE_MATH_API deFloat & | elementAt (deInt i) |
DE_MATH_API const deFloat & | elementAt (deInt i) const |
DE_MATH_API void | operator= (const deVector6 &v) |
this = v | |
DE_MATH_API void | zero () |
this = zero vector | |
DE_MATH_API void | negate (const deVector6 &v) |
this = -v | |
DE_MATH_API void | add (const deVector6 &v1, const deVector6 &v2) |
this = v1 + v2 | |
DE_MATH_API void | subtract (const deVector6 &v1, const deVector6 &v2) |
this = v1 - v2 | |
DE_MATH_API void | multiply (const deVector6 &v, const deFloat s) |
this[i] = v[i] * s | |
DE_MATH_API void | multiply (const deMatrix6 &m, const deVector6 &v) |
this = m * v | |
DE_MATH_API void | transposedMultiply (const deMatrix6 &m, const deVector6 &v) |
this = m^T * v | |
DE_MATH_API void | error (const deTransform &T, const deTransform &Td) |
this = T - Td | |
DE_MATH_API void | error (const deFrame &F, const deFrame &Fd) |
this = T - Td | |
DE_MATH_API void | operator+= (const deVector6 &v) |
this += v | |
DE_MATH_API void | operator-= (const deVector6 &v) |
this -= v | |
DE_MATH_API void | operator *= (const deFloat s) |
this *= s | |
DE_MATH_API deFloat | dot (const deVector6 &v) const |
DE_MATH_API void | solve (const deMatrix6 &m, const deVector6 &y) |
this = x where y = m x | |
DE_MATH_API void | solveSPD (const deMatrix6 &m, const deVector6 &y) |
this = x where y = m x and m is SPD | |
void | backSub (const deMatrix6 &lu, const deVector6 &y) |
this = x where y = LU x | |
void | backSubSPD (const deMatrix6 &lu, const deVector6 &y) |
this = x where y = LU x and L*U is SPD | |
Spatial transformation only | |
DE_MATH_API void | xform (const deTransform &t, const deVector6 &v) |
this = X v | |
DE_MATH_API void | xformT (const deTransform &t, const deVector6 &v) |
this = X^T v | |
DE_MATH_API void | xformInvT (const deTransform &t, const deVector6 &v) |
this = X^-T v | |
DE_MATH_API void | xformInv (const deTransform &t, const deVector6 &v) |
this = X^-1 v | |
DE_MATH_API void | crossMultiply (const deVector6 &v1, const deVector6 &v2) |
this = [v0;v1]X[tmp0;tmp1] = [ v1x , v0x ; 0 , v1x ] [ tmp0 ; tmp1 ] |
This class consists of two 3x1 vectors.
|
this = v1 + v2
|
|
this = x where y = LU x
|
|
this = x where y = LU x and L*U is SPD
|
|
this = [v0;v1]X[tmp0;tmp1] = [ v1x , v0x ; 0 , v1x ] [ tmp0 ; tmp1 ]
|
|
|
|
|
|
|
|
this = T - Td
|
|
this = T - Td
|
|
this = m * v
|
|
this[i] = v[i] * s
|
|
this = -v
|
|
this *= s
|
|
this += v
|
|
this -= v
|
|
this = v
|
|
|
|
|
|
this = x where y = m x
|
|
this = x where y = m x and m is SPD
|
|
this = v1 - v2
|
|
this = m^T * v
|
|
this = X v
|
|
this = X^-1 v
|
|
this = X^-T v
|
|
this = X^T v
|
|
this = zero vector
|