ProteoWizard
Public Member Functions | List of all members
pwiz::math::LinearLeastSquares< LinearLeastSquaresType_QR > Class Reference

#include <LinearLeastSquares.hpp>

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

Definition at line 66 of file LinearLeastSquares.hpp.

Member Function Documentation

◆ solve()

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.

74  {
75  LinearSolver<LinearSolverType_QR> solver;
76 
77  boost::numeric::ublas::vector<T> y = solver.solve(A, x);
78 
79  return y;
80  }

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

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


The documentation for this class was generated from the following file:
y
KernelTraitsBase< Kernel >::space_type::ordinate_type y
Definition: MatchedFilter.hpp:143
x
KernelTraitsBase< Kernel >::space_type::abscissa_type x
Definition: MatchedFilter.hpp:142
A
#define A
Definition: FilesystemTest.cpp:50