GCGlib
0.04.228
GCG Graphics Engine
|
Class for handling matrices with arbitrary dimension. It is used in general functions for linear algebra. More...
#include <gcg.h>
Public Attributes | |
NUMTYPE * | data |
Matrix samples: encoded as row first. | |
unsigned int | rows |
Number of rows. | |
unsigned int | columns |
Number of columns. | |
bool | isstaticdata |
True if the data pointer data must not be deleted by this object. | |
Additional Inherited Members | |
Public Member Functions inherited from gcgCLASS | |
void * | operator new (size_t size) |
Defines a new operator to be used by instatiations of GCGlib classes instead the global one. More... | |
void * | operator new (size_t size, const std::nothrow_t &) throw () |
Defines a new operator to be used by instantiations of GCGlib classes instead the global one. Returns a NULL pointer instead of throwing an exception if an error occurs. More... | |
void * | operator new[] (size_t size) |
Defines a new operator to be used by GCGlib array allocations instead the global one. More... | |
void * | operator new[] (size_t size, const std::nothrow_t &) throw () |
Defines a new operator to be used by vector allocations instead the global one. More... | |
void | operator delete (void *p) |
Defines a delete operator to free instances of GCGlib classes instead the global one. It is designed to match the new operator. More... | |
void | operator delete (void *p, const std::nothrow_t &) throw () |
Defines a delete operator to free instances of GCGlib classes instead the global one. It is designed to match the new operator. More... | |
void | operator delete[] (void *p) |
Defines a delete operator to free instances of arrays for GCGlib classes instead the global one. It is designed to match the new[] operator. More... | |
void | operator delete[] (void *p, const std::nothrow_t &) throw () |
Defines a delete operator to free instances of arrays for GCGlib classes instead the global one. It is designed to match the new[] operator. More... | |
Class for handling matrices with arbitrary dimension. It is used in general functions for linear algebra.
NUMTYPE | Type of the elements of the matrix. Supported types: float and double. |
Use gcgMATRIX<float> for single precision and gcgMATRIX<double> for double precision. Methods using both versions for a same operation are avalaible.