Om  1.0.0
A universal framework for multimedia simulation
Classes | Namespaces | Functions
omMatrix.h File Reference
#include "omMathConfig.h"
#include "omArrayMath.h"
#include "../io/omLog.h"
#include "../data/omString.h"
#include "../data/omStringBuffer.h"
#include "../util/omCopy.h"
#include "../threads/omAtomics.h"
#include "omMatrix2D.h"
#include "omMatrix3D.h"
#include "omMatrix4D.h"
#include "omMatrixND.h"
#include "omVector2D.h"
#include "omVector3D.h"
#include "omVector4D.h"
#include "omVectorND.h"

Classes

class  om::math::Matrix< T >
 A class that represents a matrix of an arbitrary number of rows and columns. More...
 
class  om::math::Matrix< T >::LeastSquares
 
class  om::math::Matrix< T >::QR
 

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::math
 A namespace containing classes and functions that do fast math operations.
 

Functions

template<typename T >
Matrix< T > om::math::operator+ (const T &c, const Matrix< T > &matrix)
 Add a scalar to a matrix's elements and return the resulting matrix. More...
 
template<typename T >
Matrix< T > om::math::operator- (const T &c, const Matrix< T > &matrix)
 Subtract a matrix's elements from a scalar and return the resulting matrix. More...
 
template<typename T >
Matrix< T > om::math::operator* (const T &c, const Matrix< T > &matrix)
 Multiply a matrix's elements by a scalar and return the resulting matrix. More...
 
template<typename T >
Bool om::math::leastSquares (const Matrix< T > &A, const Matrix< T > &b, Matrix< T > &x)
 Use a least-squares algorithm to find the best fitting solution for a linear system A*x = b. More...
 
template<typename T >
Bool om::math::solve (const Matrix< T > &A, const Matrix< T > &b, Matrix< T > &x)
 Solve a linear system of the form A*x = b., returning whether or not it was able to be solved. More...
 
template<typename T >
void om::math::qr (const Matrix< T > &A, Matrix< T > &Q, Matrix< T > &R)
 Factorize a matrix A into the product A = Q*R, where Q is orthornormal and R is upper-triangular. More...
 
template<typename T >
void om::math::qr (const Matrix< T > &A, Matrix< T > &Q, Matrix< T > &R, Matrix< Index > &permutation)
 Factorize a matrix A into the product A = Q*R, where Q is orthornormal and R is upper-triangular. More...
 
template<typename T >
void om::math::lu (const Matrix< T > &matrix, Matrix< T > &L, Matrix< T > &U)