Public Member Functions | Private Attributes | List of all members
lsqrVNL Class Reference
Inheritance diagram for lsqrVNL:
Inheritance graph
[legend]

Public Member Functions

 lsqrVNL ()
 
 ~lsqrVNL () override=default
 
void Aprod1 (unsigned int m, unsigned int n, const double *x, double *y) const override
 computes y = y + A*x without altering x, where A is a matrix of dimensions A[m][n]. More...
 
void Aprod2 (unsigned int m, unsigned int n, double *x, const double *y) const override
 computes x = x + A'*y without altering y, where A is a matrix of dimensions A[m][n]. More...
 
void SetLinearSystem (vnl_linear_system *inls)
 Set the linear system to be solved A*x = b. More...
 
void SetWorkingSpace (double *inrw)
 

Private Attributes

vnl_linear_systemls_
 
double * rw
 

Detailed Description

Definition at line 17 of file vnl_lsqr.cxx.

Constructor & Destructor Documentation

◆ lsqrVNL()

lsqrVNL::lsqrVNL ( )
inline

Definition at line 21 of file vnl_lsqr.cxx.

◆ ~lsqrVNL()

lsqrVNL::~lsqrVNL ( )
overridedefault

Member Function Documentation

◆ Aprod1()

void lsqrVNL::Aprod1 ( unsigned int  m,
unsigned int  n,
const double *  x,
double *  y 
) const
inlineoverride

computes y = y + A*x without altering x, where A is a matrix of dimensions A[m][n].

The size of the vector x is n. The size of the vector y is m.

Definition at line 34 of file vnl_lsqr.cxx.

◆ Aprod2()

void lsqrVNL::Aprod2 ( unsigned int  m,
unsigned int  n,
double *  x,
const double *  y 
) const
inlineoverride

computes x = x + A'*y without altering y, where A is a matrix of dimensions A[m][n].

The size of the vector x is n. The size of the vector y is m.

Definition at line 51 of file vnl_lsqr.cxx.

◆ SetLinearSystem()

void lsqrVNL::SetLinearSystem ( vnl_linear_system inls)
inline

Set the linear system to be solved A*x = b.

Definition at line 62 of file vnl_lsqr.cxx.

◆ SetWorkingSpace()

void lsqrVNL::SetWorkingSpace ( double *  inrw)
inline

Definition at line 67 of file vnl_lsqr.cxx.

Member Data Documentation

◆ ls_

vnl_linear_system* lsqrVNL::ls_
private

Definition at line 74 of file vnl_lsqr.cxx.

◆ rw

double* lsqrVNL::rw
private

Definition at line 76 of file vnl_lsqr.cxx.


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