#include <cmath>
#include "MathException.hpp"
#include "Matrix.hpp"
#include "Matrix3x3.hpp"
Go to the source code of this file.
Namespaces | |
namespace | kn |
Functions | |
template<class T > | |
void | kn::qrDecomposition (const Matrix< T > &A, Matrix< T > &R, Matrix< T > &Q) |
Computes a QR decomposition of a nxn matrix A where R is a upper triangular nxn matrix and Q is a nxn orthogonal matrix. | |
template<class T > | |
void | kn::rqDecomposition3x3 (const Matrix< T > &A, Matrix< T > &R, Matrix< T > &Q) |
Computes a RQ decomposition of a 3x3 matrix A where R is a upper triangular 3x3 matrix and Q is a 3x3 orthogonal matrix. | |
template<class T > | |
void | kn::rq3x3MakePositiveDiagonal (Matrix< T > &R, Matrix< T > &Q) |
Update the 3x3 RQ decomposition such the diagonal elements of R are positive. |