Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
cfcf391d
Commit
cfcf391d
authored
13 years ago
by
Thomas Toulorge
Browse files
Options
Downloads
Patches
Plain Diff
Fixed problem with initial step length calculation in ALGLIB CG optimizer
parent
5ff81146
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/lbfgs/optimization.cpp
+7
-7
7 additions, 7 deletions
contrib/lbfgs/optimization.cpp
with
7 additions
and
7 deletions
contrib/lbfgs/optimization.cpp
+
7
−
7
View file @
cfcf391d
...
@@ -3449,9 +3449,9 @@ INPUT PARAMETERS:
...
@@ -3449,9 +3449,9 @@ INPUT PARAMETERS:
A - matrix, array[N,N]
A - matrix, array[N,N]
IsUpper - (optional) storage type:
IsUpper - (optional) storage type:
* if True, symmetric matrix A is given by its upper
* if True, symmetric matrix A is given by its upper
triangle, and the lower triangle isn
’
t used
triangle, and the lower triangle isn
�
t used
* if False, symmetric matrix A is given by its lower
* if False, symmetric matrix A is given by its lower
triangle, and the upper triangle isn
’
t used
triangle, and the upper triangle isn
�
t used
* if not given, both lower and upper triangles must be
* if not given, both lower and upper triangles must be
filled.
filled.
...
@@ -3496,9 +3496,9 @@ INPUT PARAMETERS:
...
@@ -3496,9 +3496,9 @@ INPUT PARAMETERS:
A - matrix, array[N,N]
A - matrix, array[N,N]
IsUpper - (optional) storage type:
IsUpper - (optional) storage type:
* if True, symmetric matrix A is given by its upper
* if True, symmetric matrix A is given by its upper
triangle, and the lower triangle isn
’
t used
triangle, and the lower triangle isn
�
t used
* if False, symmetric matrix A is given by its lower
* if False, symmetric matrix A is given by its lower
triangle, and the upper triangle isn
’
t used
triangle, and the upper triangle isn
�
t used
* if not given, both lower and upper triangles must be
* if not given, both lower and upper triangles must be
filled.
filled.
...
@@ -6702,7 +6702,7 @@ lbl_24:
...
@@ -6702,7 +6702,7 @@ lbl_24:
* to the norm of DK
* to the norm of DK
*/
*/
v = ae_v_dotproduct(&state->dk.ptr.p_double[0], 1, &state->dk.ptr.p_double[0], 1, ae_v_len(0,n-1));
v = ae_v_dotproduct(&state->dk.ptr.p_double[0], 1, &state->dk.ptr.p_double[0], 1, ae_v_len(0,n-1));
state->laststep = ae_sqrt(v, _state);
state->laststep =
1.0/
ae_sqrt(v, _state);
}
}
else
else
{
{
...
@@ -11553,9 +11553,9 @@ INPUT PARAMETERS:
...
@@ -11553,9 +11553,9 @@ INPUT PARAMETERS:
A - matrix, array[N,N]
A - matrix, array[N,N]
IsUpper - (optional) storage type:
IsUpper - (optional) storage type:
* if True, symmetric matrix A is given by its upper
* if True, symmetric matrix A is given by its upper
triangle, and the lower triangle isn
’
t used
triangle, and the lower triangle isn
�
t used
* if False, symmetric matrix A is given by its lower
* if False, symmetric matrix A is given by its lower
triangle, and the upper triangle isn
’
t used
triangle, and the upper triangle isn
�
t used
* if not given, both lower and upper triangles must be
* if not given, both lower and upper triangles must be
filled.
filled.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment