Hermes
hermes::Matrix2x2< T > Class Template Reference

2x2 Matrix representation More...

+ Inheritance diagram for hermes::Matrix2x2< T >:

Public Member Functions

HERMES_DEVICE_CALLABLE Matrix2x2 (T m00, T m01, T m10, T m11)
 
HERMES_DEVICE_CALLABLE Vector2< T > operator* (const Vector2< T > &v) const
 
HERMES_DEVICE_CALLABLE Matrix2x2< T > operator* (const Matrix2x2< T > &B) const
 
HERMES_DEVICE_CALLABLE Matrix2x2< T > operator* (T f) const
 
HERMES_DEVICE_CALLABLE void setIdentity ()
 
HERMES_DEVICE_CALLABLEdeterminant ()
 
HERMES_DEVICE_CALLABLE const T & operator() (u32 i, u32 j) const
 
HERMES_DEVICE_CALLABLE T & operator() (u32 i, u32 j)
 
HERMES_DEVICE_CALLABLE T * operator[] (u32 row_index)
 
HERMES_DEVICE_CALLABLE const T * operator[] (u32 row_index) const
 

Additional Inherited Members

- Static Public Member Functions inherited from hermes::MathElement< T, 4 >
static constexpr u64 componentCount ()
 Gets the number of dimensional components. More...
 
static constexpr u64 numericTypeSizeInBytes ()
 Gets the size in bytes of underlying data type. More...
 
static MemoryDumper::RegionLayout memoryDumpLayout ()
 Gets memory layout. More...
 
- Static Public Attributes inherited from hermes::MathElement< T, 4 >
static T numeric_data
 Underlying data type.
 

Detailed Description

template<typename T>
class hermes::Matrix2x2< T >

2x2 Matrix representation

Template Parameters
T

The documentation for this class was generated from the following file: