Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | List of all members
om::math::Matrix< T >::LeastSquares Class Reference

#include <omMatrix.h>

Public Member Functions

 LeastSquares ()
 Create a new default least squares object. More...
 
Bool solve (const Matrix< T > &A, const Matrix< T > &b, Matrix< T > &x)
 Use a least-squares algorithm to find the best solution for a rectangular linear system A*x = b. More...
 
Size getRank () const
 Return the rank of the last input matrix that was solved. More...
 

Constructor & Destructor Documentation

template<typename T>
om::math::Matrix< T >::LeastSquares::LeastSquares ( )
inline

Create a new default least squares object.

Member Function Documentation

template<typename T>
Bool om::math::Matrix< T >::LeastSquares::solve ( const Matrix< T > &  A,
const Matrix< T > &  b,
Matrix< T > &  x 
)
inline

Use a least-squares algorithm to find the best solution for a rectangular linear system A*x = b.

template<typename T>
Size om::math::Matrix< T >::LeastSquares::getRank ( ) const
inline

Return the rank of the last input matrix that was solved.


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