|
ATOMSMATH_HOSTDEVICE T * | operator[] (int i) noexcept |
| Row access.
|
|
ATOMSMATH_HOSTDEVICE const T * | operator[] (int i) const noexcept |
| Row access.
|
|
template<class S > |
ATOMSMATH_CONSTEXPR14 | Matrix33 (const Matrix33< S > &v) noexcept |
|
template<class S > |
void | getValue (Matrix33< S > &v) const noexcept |
|
template<class S > |
ATOMSMATH_CONSTEXPR14 Matrix33< T > & | setValue (const Matrix33< S > &v) noexcept |
|
template<class S > |
ATOMSMATH_CONSTEXPR14 Matrix33< T > & | setTheMatrix (const Matrix33< S > &v) noexcept |
|
template<class S > |
void | multVecMatrix (const Vec2< S > &src, Vec2< S > &dst) const noexcept |
|
template<class S > |
void | multDirMatrix (const Vec2< S > &src, Vec2< S > &dst) const noexcept |
|
template<class S > |
const Matrix33< T > & | setRotation (S r) noexcept |
|
template<class S > |
ATOMSMATH_CONSTEXPR14 const Matrix33< T > & | rotate (S r) noexcept |
|
template<class S > |
ATOMSMATH_CONSTEXPR14 const Matrix33< T > & | setScale (const Vec2< S > &s) noexcept |
|
template<class S > |
ATOMSMATH_CONSTEXPR14 const Matrix33< T > & | scale (const Vec2< S > &s) noexcept |
|
template<class S > |
ATOMSMATH_CONSTEXPR14 const Matrix33< T > & | setTranslation (const Vec2< S > &t) noexcept |
|
template<class S > |
ATOMSMATH_CONSTEXPR14 const Matrix33< T > & | translate (const Vec2< S > &t) noexcept |
|
template<class S > |
ATOMSMATH_CONSTEXPR14 const Matrix33< T > & | setShear (const S &xy) noexcept |
|
template<class S > |
ATOMSMATH_CONSTEXPR14 const Matrix33< T > & | setShear (const Vec2< S > &h) noexcept |
|
template<class S > |
ATOMSMATH_CONSTEXPR14 const Matrix33< T > & | shear (const S &xy) noexcept |
|
template<class S > |
ATOMSMATH_CONSTEXPR14 const Matrix33< T > & | shear (const Vec2< S > &h) noexcept |
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 | Matrix33 () noexcept |
| Uninitialized. More...
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 | Matrix33 (T a) noexcept |
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 | Matrix33 (const T a[3][3]) noexcept |
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 | Matrix33 (T a, T b, T c, T d, T e, T f, T g, T h, T i) noexcept |
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 | Matrix33 (const Matrix33 &v) noexcept |
| Copy constructor.
|
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 | Matrix33 (const Matrix33< S > &v) noexcept |
| Construct from Matrix33 of another base type.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | operator= (const Matrix33 &v) noexcept |
| Assignment operator.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | operator= (T a) noexcept |
| Assignment from scalar.
|
|
| ~Matrix33 () noexcept=default |
| Destructor.
|
|
|
ATOMSMATH_HOSTDEVICE T * | getValue () noexcept |
| Return a raw pointer to the array of values.
|
|
ATOMSMATH_HOSTDEVICE const T * | getValue () const noexcept |
| Return a raw pointer to the array of values.
|
|
template<class S > |
ATOMSMATH_HOSTDEVICE void | getValue (Matrix33< S > &v) const noexcept |
| Return the value in v
|
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 Matrix33 & | setValue (const Matrix33< S > &v) noexcept |
| Set the value.
|
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 Matrix33 & | setTheMatrix (const Matrix33< S > &v) noexcept |
| Set the value.
|
|
|
constexpr ATOMSMATH_HOSTDEVICE bool | operator== (const Matrix33 &v) const noexcept |
| Equality.
|
|
constexpr ATOMSMATH_HOSTDEVICE bool | operator!= (const Matrix33 &v) const noexcept |
| Inequality.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 bool | equalWithAbsError (const Matrix33< T > &v, T e) const noexcept |
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 bool | equalWithRelError (const Matrix33< T > &v, T e) const noexcept |
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | operator+= (const Matrix33 &v) noexcept |
| Component-wise addition.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | operator+= (T a) noexcept |
| Component-wise addition.
|
|
constexpr ATOMSMATH_HOSTDEVICE Matrix33 | operator+ (const Matrix33 &v) const noexcept |
| Component-wise addition.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | operator-= (const Matrix33 &v) noexcept |
| Component-wise subtraction.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | operator-= (T a) noexcept |
| Component-wise subtraction.
|
|
constexpr ATOMSMATH_HOSTDEVICE Matrix33 | operator- (const Matrix33 &v) const noexcept |
| Component-wise subtraction.
|
|
constexpr ATOMSMATH_HOSTDEVICE Matrix33 | operator- () const noexcept |
| Component-wise multiplication by -1.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | negate () noexcept |
| Component-wise multiplication by -1.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | operator*= (T a) noexcept |
| Component-wise multiplication.
|
|
constexpr ATOMSMATH_HOSTDEVICE Matrix33 | operator* (T a) const noexcept |
| Component-wise multiplication.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | operator/= (T a) noexcept |
| Component-wise division.
|
|
constexpr ATOMSMATH_HOSTDEVICE Matrix33 | operator/ (T a) const noexcept |
| Component-wise division.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | operator*= (const Matrix33 &v) noexcept |
| Matrix-matrix multiplication.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 Matrix33 | operator* (const Matrix33 &v) const noexcept |
| Matrix-matrix multiplication.
|
|
template<class S > |
ATOMSMATH_HOSTDEVICE void | multVecMatrix (const Vec2< S > &src, Vec2< S > &dst) const noexcept |
|
template<class S > |
ATOMSMATH_HOSTDEVICE void | multDirMatrix (const Vec2< S > &src, Vec2< S > &dst) const noexcept |
|
|
ATOMSMATH_HOSTDEVICE void | makeIdentity () noexcept |
| Set to the identity matrix.
|
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | transpose () noexcept |
| Transpose.
|
|
constexpr ATOMSMATH_HOSTDEVICE Matrix33 | transposed () const noexcept |
| Return the transpose.
|
|
ATOMSMATH_CONSTEXPR14 const Matrix33 & | invert (bool singExc) |
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | invert () noexcept |
|
ATOMSMATH_CONSTEXPR14 Matrix33< T > | inverse (bool singExc) const |
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 Matrix33< T > | inverse () const noexcept |
| Return the inverse using the determinant, leaving this unmodified.
|
|
const Matrix33 & | gjInvert (bool singExc) |
|
ATOMSMATH_HOSTDEVICE const Matrix33 & | gjInvert () noexcept |
|
Matrix33< T > | gjInverse (bool singExc) const |
|
ATOMSMATH_HOSTDEVICE Matrix33< T > | gjInverse () const noexcept |
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 T | minorOf (const int r, const int c) const noexcept |
| Calculate the matrix minor of the (r,c) element.
|
|
constexpr ATOMSMATH_HOSTDEVICE T | fastMinor (const int r0, const int r1, const int c0, const int c1) const noexcept |
| Build a minor using the specified rows and columns.
|
|
constexpr ATOMSMATH_HOSTDEVICE T | determinant () const noexcept |
| Determinant.
|
|
template<class S > |
ATOMSMATH_HOSTDEVICE const Matrix33 & | setRotation (S r) noexcept |
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | rotate (S r) noexcept |
|
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | setScale (T s) noexcept |
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | setScale (const Vec2< S > &s) noexcept |
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | scale (const Vec2< S > &s) noexcept |
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | setTranslation (const Vec2< S > &t) noexcept |
|
constexpr ATOMSMATH_HOSTDEVICE Vec2< T > | translation () const noexcept |
| Return the translation component.
|
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | translate (const Vec2< S > &t) noexcept |
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | setShear (const S &h) noexcept |
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | setShear (const Vec2< S > &h) noexcept |
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | shear (const S &xy) noexcept |
|
template<class S > |
ATOMSMATH_HOSTDEVICE ATOMSMATH_CONSTEXPR14 const Matrix33 & | shear (const Vec2< S > &h) noexcept |
|
template<class T>
class Matrix33< T >
3x3 transformation matrix