LinearAlgebra
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Passer::LinearAlgebra::MatrixOf< T > Class Template Reference

Detailed Description

template<typename T>
class Passer::LinearAlgebra::MatrixOf< T >

Single precision float matrix.

#include <Matrix.h>

Public Member Functions

 MatrixOf (unsigned int rows, unsigned int cols)
 
 MatrixOf (unsigned int rows, unsigned int cols, const T *source)
 
 MatrixOf (Vector3 v)
 
void Transpose (MatrixOf< T > *r) const
 Transpose with result in matrix m.
 
void Multiply (const MatrixOf< T > *m, MatrixOf< T > *r) const
 
Vector3 operator* (const Vector3 v) const
 
T Get (unsigned int rowIx, unsigned int colIx) const
 
void Set (unsigned int rowIx, unsigned int colIx, T value)
 
void Set (const T *source)
 
void SetRow (unsigned int rowIx, const T *source)
 
void SetCol (unsigned int colIx, const T *source)
 
void CopyFrom (const MatrixOf< T > *m)
 
unsigned int RowCount () const
 
unsigned int ColCount () const
 

Static Public Member Functions

static void Multiply (const MatrixOf< T > *m1, const MatrixOf< T > *m2, MatrixOf< T > *r)
 
static Vector3 Multiply (const MatrixOf< T > *m, Vector3 v)
 

Member Function Documentation

◆ Transpose()

template<typename T >
void Passer::LinearAlgebra::MatrixOf< T >::Transpose ( MatrixOf< T > *  r) const
inline

Transpose with result in matrix m.

Parameters
rThe matrix in which the transposed matrix is stored

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