|
IMATH_HOSTDEVICE T * | operator[] (int i) IMATH_NOEXCEPT |
| Row access. More...
|
|
IMATH_HOSTDEVICE const T * | operator[] (int i) const IMATH_NOEXCEPT |
| Row access. More...
|
|
template<class S > |
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 Matrix22< T > & | setValue (const Matrix22< S > &v) IMATH_NOEXCEPT |
|
template<class S > |
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 Matrix22< T > & | setTheMatrix (const Matrix22< S > &v) IMATH_NOEXCEPT |
|
template<class S > |
IMATH_HOSTDEVICE const
Matrix22< T > & | setRotation (S r) IMATH_NOEXCEPT |
|
template<class S > |
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22< T > & | rotate (S r) IMATH_NOEXCEPT |
|
template<class S > |
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22< T > & | setScale (const Vec2< S > &s) IMATH_NOEXCEPT |
|
template<class S > |
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22< T > & | scale (const Vec2< S > &s) IMATH_NOEXCEPT |
|
|
IMATH_HOSTDEVICE | Matrix22 (Uninitialized) IMATH_NOEXCEPT |
| Uninitialized. More...
|
|
IMATH_HOSTDEVICE IMATH_CONSTEXPR14 | Matrix22 () IMATH_NOEXCEPT |
|
IMATH_HOSTDEVICE IMATH_CONSTEXPR14 | Matrix22 (T a) IMATH_NOEXCEPT |
|
IMATH_HOSTDEVICE IMATH_CONSTEXPR14 | Matrix22 (const T a[2][2]) IMATH_NOEXCEPT |
|
IMATH_HOSTDEVICE IMATH_CONSTEXPR14 | Matrix22 (T a, T b, T c, T d) IMATH_NOEXCEPT |
|
IMATH_HOSTDEVICE IMATH_CONSTEXPR14 | Matrix22 (const Matrix22 &v) IMATH_NOEXCEPT |
| Copy constructor. More...
|
|
template<class S > |
IMATH_HOSTDEVICE IMATH_CONSTEXPR14 | Matrix22 (const Matrix22< S > &v) IMATH_NOEXCEPT |
| Construct from Matrix22 of another base type. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | operator= (const Matrix22 &v) IMATH_NOEXCEPT |
| Assignment. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | operator= (T a) IMATH_NOEXCEPT |
| Assignment from scalar. More...
|
|
| ~Matrix22 () IMATH_NOEXCEPT=default |
| Destructor. More...
|
|
|
template<typename M , IMATH_ENABLE_IF(has_double_subscript< M, T, 2, 2 >::value) > |
IMATH_HOSTDEVICE | Matrix22 (const M &m) |
|
template<typename M , IMATH_ENABLE_IF(has_double_subscript< M, T, 2, 2 >::value) > |
IMATH_HOSTDEVICE const Matrix22 & | operator= (const M &m) |
|
|
IMATH_HOSTDEVICE T * | getValue () IMATH_NOEXCEPT |
| Return a raw pointer to the array of values. More...
|
|
IMATH_HOSTDEVICE const T * | getValue () const IMATH_NOEXCEPT |
| Return a raw pointer to the array of values. More...
|
|
template<class S > |
IMATH_HOSTDEVICE void | getValue (Matrix22< S > &v) const IMATH_NOEXCEPT |
| Return the value in v More...
|
|
template<class S > |
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 Matrix22 & | setValue (const Matrix22< S > &v) IMATH_NOEXCEPT |
| Set the value. More...
|
|
template<class S > |
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 Matrix22 & | setTheMatrix (const Matrix22< S > &v) IMATH_NOEXCEPT |
| Set the value. More...
|
|
|
IMATH_HOSTDEVICE constexpr bool | operator== (const Matrix22 &v) const IMATH_NOEXCEPT |
| Equality. More...
|
|
IMATH_HOSTDEVICE constexpr bool | operator!= (const Matrix22 &v) const IMATH_NOEXCEPT |
| Inequality. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 bool | equalWithAbsError (const Matrix22< T > &v, T e) const IMATH_NOEXCEPT |
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 bool | equalWithRelError (const Matrix22< T > &v, T e) const IMATH_NOEXCEPT |
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | operator+= (const Matrix22 &v) IMATH_NOEXCEPT |
| Component-wise addition. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | operator+= (T a) IMATH_NOEXCEPT |
| Component-wise addition. More...
|
|
IMATH_HOSTDEVICE constexpr Matrix22 | operator+ (const Matrix22 &v) const IMATH_NOEXCEPT |
| Component-wise addition. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | operator-= (const Matrix22 &v) IMATH_NOEXCEPT |
| Component-wise subtraction. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | operator-= (T a) IMATH_NOEXCEPT |
| Component-wise subtraction. More...
|
|
IMATH_HOSTDEVICE constexpr Matrix22 | operator- (const Matrix22 &v) const IMATH_NOEXCEPT |
| Component-wise subtraction. More...
|
|
IMATH_HOSTDEVICE constexpr Matrix22 | operator- () const IMATH_NOEXCEPT |
| Component-wise multiplication by -1. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | negate () IMATH_NOEXCEPT |
| Component-wise multiplication by -1. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | operator*= (T a) IMATH_NOEXCEPT |
| Component-wise multiplication. More...
|
|
IMATH_HOSTDEVICE constexpr Matrix22 | operator* (T a) const IMATH_NOEXCEPT |
| Component-wise multiplication. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | operator/= (T a) IMATH_NOEXCEPT |
| Component-wise division. More...
|
|
IMATH_HOSTDEVICE constexpr Matrix22 | operator/ (T a) const IMATH_NOEXCEPT |
| Component-wise division. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | operator*= (const Matrix22 &v) IMATH_NOEXCEPT |
| Matrix-matrix multiplication. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 Matrix22 | operator* (const Matrix22 &v) const IMATH_NOEXCEPT |
| Matrix-matrix multiplication. More...
|
|
template<class S > |
IMATH_HOSTDEVICE void | multDirMatrix (const Vec2< S > &src, Vec2< S > &dst) const IMATH_NOEXCEPT |
|
|
IMATH_HOSTDEVICE void | makeIdentity () IMATH_NOEXCEPT |
| Set to the identity. More...
|
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | transpose () IMATH_NOEXCEPT |
| Transpose. More...
|
|
IMATH_HOSTDEVICE constexpr Matrix22 | transposed () const IMATH_NOEXCEPT |
| Return the transpose. More...
|
|
IMATH_CONSTEXPR14 const Matrix22 & | invert (bool singExc) |
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | invert () IMATH_NOEXCEPT |
|
IMATH_CONSTEXPR14 Matrix22< T > | inverse (bool singExc) const |
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 Matrix22< T > | inverse () const IMATH_NOEXCEPT |
| Return the inverse, leaving this unmodified. More...
|
|
IMATH_HOSTDEVICE constexpr T | determinant () const IMATH_NOEXCEPT |
| Determinant. More...
|
|
template<class S > |
IMATH_HOSTDEVICE const Matrix22 & | setRotation (S r) IMATH_NOEXCEPT |
|
template<class S > |
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | rotate (S r) IMATH_NOEXCEPT |
|
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | setScale (T s) IMATH_NOEXCEPT |
|
template<class S > |
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | setScale (const Vec2< S > &s) IMATH_NOEXCEPT |
|
template<class S > |
IMATH_HOSTDEVICE
IMATH_CONSTEXPR14 const
Matrix22 & | scale (const Vec2< S > &s) IMATH_NOEXCEPT |
|
template<class T>
class Matrix22< T >
2x2 transformation matrix
Definition at line 45 of file ImathMatrix.h.