OpenMS
3.2.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
NonNegativeLeastSquaresSolver.h
Go to the documentation of this file.
1
// Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2
// SPDX-License-Identifier: BSD-3-Clause
3
//
4
// --------------------------------------------------------------------------
5
// $Maintainer: Chris Bielow $
6
// $Authors: Chris Bielow $
7
// --------------------------------------------------------------------------
8
9
#pragma once
10
11
#include <
OpenMS/DATASTRUCTURES/Matrix.h
>
12
13
namespace
OpenMS
14
{
20
class
OPENMS_DLLAPI
NonNegativeLeastSquaresSolver
21
{
22
public
:
23
24
enum
RETURN_STATUS
25
{
26
SOLVED
,
27
ITERATION_EXCEEDED
28
};
29
40
static
Int
solve
(
const
Matrix<double>
& A,
const
Matrix<double>
& b,
Matrix<double>
& x);
41
};
42
43
}
// namespace OpenMS
44
Matrix.h
OpenMS::Matrix< double >
OpenMS::NonNegativeLeastSquaresSolver
Wrapper for a non-negative least squares (NNLS) solver.
Definition:
NonNegativeLeastSquaresSolver.h:21
OpenMS::NonNegativeLeastSquaresSolver::solve
static Int solve(const Matrix< double > &A, const Matrix< double > &b, Matrix< double > &x)
This is a wrapper for the external nnls library for the non-negative least square problem Ax=b,...
OpenMS::NonNegativeLeastSquaresSolver::RETURN_STATUS
RETURN_STATUS
Definition:
NonNegativeLeastSquaresSolver.h:25
OpenMS::NonNegativeLeastSquaresSolver::SOLVED
@ SOLVED
Definition:
NonNegativeLeastSquaresSolver.h:26
OpenMS::Int
int Int
Signed integer type.
Definition:
Types.h:72
OpenMS
Main OpenMS namespace.
Definition:
openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
OpenMS
ML
NNLS
NonNegativeLeastSquaresSolver.h
Generated on Tue Nov 26 2024 13:36:06 for OpenMS by
1.9.1