35 _optimizer(0), _x(0), _b(0), _xSize(0), _maxXSize(0),
36 _isLevenberg(false), _additionalVectorSpace(0)
59 memcpy(
_x,
_b, oldSize *
sizeof(
double));
void setLevenberg(bool levenberg)
SparseOptimizer * _optimizer
bool levenberg() const
the system is Levenberg-Marquardt
void setAdditionalVectorSpace(size_t s)
void setOptimizer(SparseOptimizer *optimizer)
size_t _additionalVectorSpace
void resizeVector(size_t sx)
SparseOptimizer * optimizer() const
the optimizer (graph) on which the solver works
bool _isLevenberg
the system we gonna solve is a Levenberg-Marquardt system