mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-14 12:23:03 +01:00
improved performance of dogleg
This commit is contained in:
parent
4a0e3e55d3
commit
54b674476d
1 changed files with 1 additions and 2 deletions
|
|
@ -258,7 +258,7 @@ optim.inv = function inv(x) {
|
|||
};
|
||||
|
||||
optim.dog_leg = function (subsys, rough) {
|
||||
rough = true
|
||||
//rough = true
|
||||
var tolg = rough ? 1e-3 : 1e-4;
|
||||
|
||||
var tolx = 1e-80, tolf = 1e-10;
|
||||
|
|
@ -494,7 +494,6 @@ optim.dog_leg = function (subsys, rough) {
|
|||
error: err,
|
||||
returnCode: stop
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
optim.cg = function(A, x, b, tol, maxIt) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue