TinyChatEngine
Loading...
Searching...
No Matches
Matrix4D< T > Class Template Reference

Public Member Functions

 Matrix4D (T *data, int dim_w, int dim_x, int dim_y, int dim_z)
 
T & operator() (int w, int x, int y, int z)
 
const T & operator() (int w, int x, int y, int z) const
 
bool operator== (const Matrix4D< T > &other) const
 
int length () const
 
sum () const
 
sum (int size) const
 
sum (int size, int start_idx) const
 
void load (const char *path)
 

Public Attributes

T * m_data
 
int m_dim_w
 
int m_dim_x
 
int m_dim_y
 
int m_dim_z
 

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