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 }
#define A
KernelTraitsBase< Kernel >::space_type::abscissa_type x
KernelTraitsBase< Kernel >::space_type::ordinate_type y

References A, x, and y.


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