DP3
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
dp3::ddecal::LLSSolver Class Referenceabstract

#include <LLSSolver.h>

Inheritance diagram for dp3::ddecal::LLSSolver:
dp3::ddecal::NormalEquationsSolver dp3::ddecal::QRSolver dp3::ddecal::SVDSolver

Public Types

using complex = std::complex< float >
 

Public Member Functions

 LLSSolver (int m, int n, int nrhs)
 
virtual ~LLSSolver ()
 
virtual bool Solve (complex *a, complex *b)=0
 
virtual bool Solve (complex *a, complex *b, [[maybe_unused]] complex *initial_value)
 

Static Public Member Functions

static std::unique_ptr< LLSSolverMake (LLSSolverType lss_type, int m, int n, int nrhs)
 
static LLSSolverType ParseType (const std::string &solver)
 

Protected Attributes

int m_
 
int n_
 
int nrhs_
 

Detailed Description

Base class for linear least-square solvers. These are used by the solution solvers such as ScalarSolver, DiagonalSolver and FullJonesSolver.

Member Typedef Documentation

◆ complex

using dp3::ddecal::LLSSolver::complex = std::complex<float>

Constructor & Destructor Documentation

◆ LLSSolver()

dp3::ddecal::LLSSolver::LLSSolver ( int  m,
int  n,
int  nrhs 
)
inline

◆ ~LLSSolver()

virtual dp3::ddecal::LLSSolver::~LLSSolver ( )
inlinevirtual

Member Function Documentation

◆ Make()

static std::unique_ptr<LLSSolver> dp3::ddecal::LLSSolver::Make ( LLSSolverType  lss_type,
int  m,
int  n,
int  nrhs 
)
static

◆ ParseType()

static LLSSolverType dp3::ddecal::LLSSolver::ParseType ( const std::string &  solver)
static

◆ Solve() [1/2]

virtual bool dp3::ddecal::LLSSolver::Solve ( complex a,
complex b 
)
pure virtual

◆ Solve() [2/2]

virtual bool dp3::ddecal::LLSSolver::Solve ( complex a,
complex b,
[[maybe_unused] ] complex initial_value 
)
inlinevirtual

Member Data Documentation

◆ m_

int dp3::ddecal::LLSSolver::m_
protected

◆ n_

int dp3::ddecal::LLSSolver::n_
protected

◆ nrhs_

int dp3::ddecal::LLSSolver::nrhs_
protected

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