Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gsll
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antonio Juan
gsll
Commits
7abb34b2
Commit
7abb34b2
authored
13 years ago
by
Liam M. Healy
Committed by
Liam M. Healy
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Improve wording and grammar in docstrings
parent
898260bd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
solve-minimize-fit/minimization-multi.lisp
+15
-16
15 additions, 16 deletions
solve-minimize-fit/minimization-multi.lisp
with
15 additions
and
16 deletions
solve-minimize-fit/minimization-multi.lisp
+
15
−
16
View file @
7abb34b2
;; Multivariate minimization.
;; Multivariate minimization.
;; Liam Healy <Tue Jan 8 2008 - 21:28>
;; Liam Healy <Tue Jan 8 2008 - 21:28>
;; Time-stamp: <2011-0
8-17 00:50:24
EDT minimization-multi.lisp>
;; Time-stamp: <2011-0
9-28 13:30:49
EDT minimization-multi.lisp>
;;
;;
;; Copyright 2008, 2009, 2011 Liam M. Healy
;; Copyright 2008, 2009, 2011 Liam M. Healy
;; Distributed under the terms of the GNU General Public License
;; Distributed under the terms of the GNU General Public License
...
@@ -47,11 +47,11 @@
...
@@ -47,11 +47,11 @@
((
type
:pointer
)
((
first
dimensions
)
sizet
))
((
type
:pointer
)
((
first
dimensions
)
sizet
))
"multi-dimensional minimizer with function only"
"multi-dimensional minimizer with function only"
:documentation
; FDL
:documentation
; FDL
"Make an instance of a minimizer
of the given
for a
n
function of the
"Make an instance of a minimizer for a function of the
given
given
dimensions. Optionally initialize the minimizer
to minimize
dimensions
without derivative
. Optionally initialize the minimizer
the function starting from the initial point. The size
of the
to minimize
the function starting from the initial point. The size
initial trial steps is given in vector step-size. The
precise
of the
initial trial steps is given in vector step-size. The
meaning of this parameter depends on the method used."
precise
meaning of this parameter depends on the method used."
:callbacks
:callbacks
(
callback
fnstruct-dimension
(
dimension
)
(
callback
fnstruct-dimension
(
dimension
)
(
function
:double
(
:input
:double
:foreign-array
dim0
)
:slug
))
(
function
:double
(
:input
:double
:foreign-array
dim0
)
:slug
))
...
@@ -66,16 +66,15 @@
...
@@ -66,16 +66,15 @@
((
type
:pointer
)
((
first
dimensions
)
sizet
))
((
type
:pointer
)
((
first
dimensions
)
sizet
))
"multi-dimensional minimizer with function and derivative"
"multi-dimensional minimizer with function and derivative"
:documentation
; FDL
:documentation
; FDL
"Make an instance of a derivative-based minimizer of the given for
"Make an instance of a minimizer for a function of the given
an function of the given dimensions. Optionally initialize the
dimensions with a derivative. Optionally initialize the minimizer
minimizer to minimize the function starting from the initial point.
to minimize the function starting from the initial point. The size
The size of the first trial step is given by step-size. The
of the first trial step is given by step-size. The accuracy of the
accuracy of the line minimization is specified by tolernace. The
line minimization is specified by tolernace. The precise meaning
precise meaning of this parameter depends on the method used.
of this parameter depends on the method used. Typically the line
Typically the line minimization is considered successful if the
minimization is considered successful if the gradient of the
gradient of the function g is orthogonal to the current search
function g is orthogonal to the current search direction p to a
direction p to a relative accuracy of tolerance, where dot(p,g) <
relative accuracy of tolerance, where dot(p,g) < tol |p| |g|."
tol |p| |g|."
:callbacks
:callbacks
(
callback
fnstruct-dimension-fdf
(
dimension
)
(
callback
fnstruct-dimension-fdf
(
dimension
)
(
function
:double
(
:input
:double
:foreign-array
dim0
)
:slug
)
(
function
:double
(
:input
:double
:foreign-array
dim0
)
:slug
)
...
...
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