3 #include <vnl/vnl_matrix.h> 6 #include <itkOptimizer.h> 9 #include "AnimaOptimizersExport.h" 41 void StartOptimization() ITK_OVERRIDE;
43 void SetDataMatrix(const MatrixType &data) {m_DataMatrix = data;}
44 void SetPoints(
const ParametersType &points) {m_Points = points;}
46 double GetCurrentResidual();
48 itkSetMacro(SquaredProblem,
bool)
53 m_SquaredProblem =
false;
61 unsigned int UpdateProcessedIndexes();
62 void ComputeSPVector();
63 void ComputeWVector();
66 ParametersType m_Points;
68 static const double m_EpsilonValue;
71 bool m_SquaredProblem;
74 std::vector <unsigned short> m_TreatedIndexes;
75 std::vector <unsigned int> m_ProcessedIndexes;
76 std::vector <double> m_WVector;
itk::SmartPointer< Self > Pointer
vnl_matrix< double > MatrixType
itk::SmartPointer< const Self > ConstPointer
Superclass::ParametersType ParametersType
void SetPoints(const ParametersType &points)
itk::Optimizer Superclass
vnl_vector< double > VectorType
virtual ~NNLSOptimizer() ITK_OVERRIDE
Non negative least squares optimizer. Implements Lawson et al method, of squared problem is activated...
Cholesky decomposition: decomposes a symmetric matrix A in the form L D L^T, where L is lower triangu...