#include <F_CgLS1_LS.hpp>
Inheritance diagram for F_CgLS1_LS:
Purpose: Conjugate gradient for Linear Squared Problems [Yang97]"An Efficient Implementation of MCGLS Method for Sparse Least Squares Problems on Massively Distributed Memory Computers.", Tianruo Yang, Linkoping University, Sweden, 1997.
@ Copyrights: Bernard De Cuyper 2004, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
F_CgLS1_LS (int maxIterations, double epsilon=1.0e-4) | |
virtual | ~F_CgLS1_LS () |
virtual FloatVector * | solve (AFloatMatrix *m, FloatVector *b, FloatVector *dest) |
Protected Methods | |
virtual FloatVector * | singleSolve (AFloatMatrix *A, FloatVector *b, FloatVector *x=0) |
Private Attributes | |
double | alpha |
double | beta |
double | gamma |
FloatVector * | r |
FloatVector * | p |
FloatVector * | q |
FloatVector * | s |