Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gsll
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
antik
gsll
Commits
7abb34b2
Commit
7abb34b2
authored
Sep 28, 2011
by
Liam Healy
Committed by
Liam M. Healy
Sep 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve wording and grammar in docstrings
parent
898260bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
+15
-16
minimization-multi.lisp
solve-minimize-fit/minimization-multi.lisp
+15
-16
No files found.
solve-minimize-fit/minimization-multi.lisp
View file @
7abb34b2
;; Multivariate minimization.
;; 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
;; Distributed under the terms of the GNU General Public License
...
...
@@ -47,11 +47,11 @@
((
type
:pointer
)
((
first
dimensions
)
sizet
))
"multi-dimensional minimizer with function only"
:documentation
; FDL
"Make an instance of a minimizer
of the given for an function of the
given dimensions. Optionally initialize the minimizer to minimize
t
he function starting from the initial point. The size of th
e
initial trial steps is given in vector step-size. The precis
e
meaning of this parameter depends on the method used."
"Make an instance of a minimizer
for a function of the given
dimensions without derivative. Optionally initialize the minimizer
t
o minimize the function starting from the initial point. The siz
e
of the initial trial steps is given in vector step-size. Th
e
precise
meaning of this parameter depends on the method used."
:callbacks
(
callback
fnstruct-dimension
(
dimension
)
(
function
:double
(
:input
:double
:foreign-array
dim0
)
:slug
))
...
...
@@ -66,16 +66,15 @@
((
type
:pointer
)
((
first
dimensions
)
sizet
))
"multi-dimensional minimizer with function and derivative"
:documentation
; FDL
"Make an instance of a derivative-based minimizer of the given for
an function of the given dimensions. Optionally initialize the
minimizer to minimize the function starting from the initial point.
The size of the first trial step is given by step-size. The
accuracy of the line minimization is specified by tolernace. The
precise meaning of this parameter depends on the method used.
Typically the line minimization is considered successful if the
gradient of the function g is orthogonal to the current search
direction p to a relative accuracy of tolerance, where dot(p,g) <
tol |p| |g|."
"Make an instance of a minimizer for a function of the given
dimensions with a derivative. Optionally initialize the minimizer
to minimize the function starting from the initial point. The size
of the first trial step is given by step-size. The accuracy of the
line minimization is specified by tolernace. The precise meaning
of this parameter depends on the method used. Typically the line
minimization is considered successful if the gradient of the
function g is orthogonal to the current search direction p to a
relative accuracy of tolerance, where dot(p,g) < tol |p| |g|."
:callbacks
(
callback
fnstruct-dimension-fdf
(
dimension
)
(
function
:double
(
:input
:double
:foreign-array
dim0
)
:slug
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment