67 static Int solve(
double* A,
int A_rows,
int A_cols,
68 std::vector<double>& b, std::vector<double>& x);
A 2D matrix class with efficient buffer access for NumPy interoperability.
Definition Matrix.h:35
Wrapper for a non-negative least squares (NNLS) solver.
Definition NonNegativeLeastSquaresSolver.h:22
static Int solve(const Matrix< double > &A, const Matrix< double > &b, Matrix< double > &x)
Solve the non-negative least square problem Ax=b, where x>0.
static Int solve(Matrix< double > &A, std::vector< double > &b, std::vector< double > &x)
Solve the non-negative least square problem Ax=b using Matrix and vectors.
RETURN_STATUS
Definition NonNegativeLeastSquaresSolver.h:26
@ SOLVED
Definition NonNegativeLeastSquaresSolver.h:27
static Int solve(double *A, int A_rows, int A_cols, std::vector< double > &b, std::vector< double > &x)
Solve the non-negative least square problem Ax=b, where x>0. Works in-place.
int Int
Signed integer type.
Definition Types.h:72
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19