ANIMA  4.0
animaQRDecomposition.h
Go to the documentation of this file.
1 #pragma once
2 #include <vnl/vnl_matrix.h>
3 #include <vector>
4 
5 namespace anima
6 {
7 
13 template <typename ScalarType> void QRGivensDecomposition(vnl_matrix <ScalarType> &aMatrix, vnl_vector <ScalarType> &bVector);
14 
21 template <typename ScalarType> void QRPivotDecomposition(vnl_matrix <ScalarType> &aMatrix, std::vector <unsigned int> &pivotVector,
22  std::vector <ScalarType> &houseBetaValues, unsigned int &rank);
23 
27 template <typename ScalarType> void GetQtBFromQRPivotDecomposition(vnl_matrix <ScalarType> &qrMatrix, vnl_vector <ScalarType> &bVector,
28  std::vector <ScalarType> &houseBetaValues, unsigned int rank);
29 
33 template <typename ScalarType> void GetQMatrixQRPivoDecomposition(vnl_matrix <ScalarType> &qrMatrix, std::vector <ScalarType> &houseBetaValues,
34  vnl_matrix <ScalarType> &qMatrix, unsigned int rank);
35 
36 } // end namespace anima
37 
38 #include "animaQRDecomposition.hxx"
void QRPivotDecomposition(vnl_matrix< ScalarType > &aMatrix, std::vector< unsigned int > &pivotVector, std::vector< ScalarType > &houseBetaValues, unsigned int &rank)
void GetQtBFromQRPivotDecomposition(vnl_matrix< ScalarType > &qrMatrix, vnl_vector< ScalarType > &bVector, std::vector< ScalarType > &houseBetaValues, unsigned int rank)
void QRGivensDecomposition(vnl_matrix< ScalarType > &aMatrix, vnl_vector< ScalarType > &bVector)
void GetQMatrixQRPivoDecomposition(vnl_matrix< ScalarType > &qrMatrix, std::vector< ScalarType > &houseBetaValues, vnl_matrix< ScalarType > &qMatrix, unsigned int rank)