KrisLibrary  1.0.0
Public Member Functions | Public Attributes | List of all members
Optimization::LSQRInterface Struct Reference

An interface to a sparse least-squares solver (lsqr). More...

#include <LSQRInterface.h>

Public Member Functions

bool Solve (const SparseMatrix &A, const Vector &b)
 

Public Attributes

Vector x0
 initial guess for x – default set to 0's
 
Real dampValue
 damping term, min ||Ax-b||^2 + dampValue||x||^2
 
Real relError
 relative error in defining A,b
 
Real condLimit
 stop if the estimated condition number of A exceeds condLim
 
int maxIters
 maximum number of iterations, set to 0 to use default value
 
int verbose
 0 - no output printed, 1 - output to stdout, 2 - output to stderr
 
Vector x
 the solution vector
 
Vector stdErr
 the standard error estimates
 
int numIters
 the number of iterations used
 
Real condEstA
 condition number estimate for A
 
Real residualNorm
 

Detailed Description

An interface to a sparse least-squares solver (lsqr).


The documentation for this struct was generated from the following files: