ProteoWizard
Public Member Functions
pwiz::math::LinearLeastSquares< LinearLeastSquaresType_QR > Class Template Reference

#include <LinearLeastSquares.hpp>

List of all members.

Public Member Functions

template<typename T >
boost::numeric::ublas::vector< T > solve (const boost::numeric::ublas::matrix< T > &A, const boost::numeric::ublas::vector< T > &x)

Detailed Description

template<>
class pwiz::math::LinearLeastSquares< LinearLeastSquaresType_QR >

Definition at line 66 of file LinearLeastSquares.hpp.


Member Function Documentation

template<typename T >
boost::numeric::ublas::vector<T> pwiz::math::LinearLeastSquares< LinearLeastSquaresType_QR >::solve ( const boost::numeric::ublas::matrix< T > &  A,
const boost::numeric::ublas::vector< T > &  x 
)
inline

Definition at line 71 of file LinearLeastSquares.hpp.

References pwiz::math::LinearSolver< LinearSolverType_QR >::solve(), and y.

Referenced by testDoubleQR(), testExactFitQR(), testLeastSquaresQR(), and testSimpleRectangleQR().

{
LinearSolver<LinearSolverType_QR> solver;
boost::numeric::ublas::vector<T> y = solver.solve(A, x);
return y;
}

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