#include <iostream>
#include <math.h>
#include <memory.h>
#include "mathdefs.h"
#include <creaSystem.h>
Go to the source code of this file.
Namespaces | |
namespace | gtm |
Functions | |
template<class T > | |
void | gtm::VectorPrint (std::ostream &o, T *v, uint32_t n, bool col) |
Functions for vectors. | |
template<class T > | |
T * | gtm::VectorAllocateMemory (uint32_t n) |
template<class T > | |
void | gtm::VectorFreeMemory (T *v) |
template<class T > | |
void | gtm::VectorAssignMemory (T *v, T *v_o, uint32_t n) |
template<class T > | |
T * | gtm::VectorCopyMemory (T *v, uint32_t n) |
template<class T > | |
void | gtm::VectorAssignScalar (T *v, T s, uint32_t n) |
template<class T > | |
void | gtm::VectorMatrixCast (T **ma, T *v, uint32_t n, uint32_t m, bool col) |
template<class T > | |
void | gtm::VectorAdd (T *v, T *v_l, T *v_r, uint32_t n) |
template<class T > | |
void | gtm::VectorSubtract (T *v, T *v_l, T *v_r, uint32_t n) |
template<class T > | |
void | gtm::VectorCrossProduct (T *v, T *v_l, T *v_r) |
template<class T > | |
T | gtm::VectorDotProduct (T *v_l, T *v_r, uint32_t n) |
template<class T > | |
void | gtm::VectorScalarProduct (T *v, T *v_l, T s, uint32_t n) |
template<class T > | |
T | gtm::VectorNorm (T *v, uint32_t n) |
template<class T > | |
void | gtm::VectorNormalize (T *v, T *v_o, uint32_t n) |
template<class T > | |
void | gtm::MatrixPrint (std::ostream &o, T **ma, uint32_t n, uint32_t m) |
Functions for matrices. | |
template<class T > | |
T ** | gtm::MatrixAllocateMemory (uint32_t n, uint32_t m) |
template<class T > | |
void | gtm::MatrixAssignMemory (T **ma, T **ma_o, uint32_t n, uint32_t m) |
template<class T > | |
T ** | gtm::MatrixCopyMemory (T **ma, uint32_t n, uint32_t m) |
template<class T > | |
void | gtm::MatrixAssignScalar (T **ma, T s, uint32_t n, uint32_t m) |
template<class T > | |
void | gtm::MatrixVectorCast (T *v, T **ma, uint32_t n, uint32_t m, bool col) |
template<class T > | |
void | gtm::MatrixFreeMemory (T **ma, uint32_t n) |
template<class T > | |
void | gtm::MatrixAdd (T **ma, T **ma_l, T **ma_r, uint32_t n, uint32_t m) |
template<class T > | |
void | gtm::MatrixSubtract (T **ma, T **ma_l, T **ma_r, uint32_t n, uint32_t m) |
template<class T > | |
void | gtm::MatrixProduct (T **ma, T **ma_l, T **ma_r, uint32_t n, uint32_t m, uint32_t nr) |
template<class T > | |
void | gtm::MatrixScalarProduct (T **ma, T **ma_l, T s, uint32_t n, uint32_t m) |
template<class T > | |
void | gtm::MatrixCofactor (T **ma, T **ma_o, uint32_t i, uint32_t j, uint32_t n, uint32_t m) |
template<class T > | |
T | gtm::MatrixDeterminant (T **ma, uint32_t n) |
template<class T > | |
void | gtm::MatrixInverseAdjoint (T **ma, T **ma_o, uint32_t n) |
template<class T > | |
void | gtm::MatrixInverseGauss (T **ma, T **ma_o, uint32_t n) |
template<class T > | |
void | gtm::MatrixTranspose (T **ma, T **ma_o, uint32_t n, uint32_t m) |
template<class T > | |
void | gtm::MatrixLoadIdentity (T **ma, uint32_t n) |