Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
0454b318
Commit
0454b318
authored
7 years ago
by
Karl Palmen
Browse files
Options
Downloads
Patches
Plain Diff
Update and improve comments re #16748
Signed-off-by:
Karl Palmen
<
karl.palmen@stfc.ac.uk
>
parent
e05edbc3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Framework/CurveFitting/src/FuncMinimizers/MoreSorensenMinimizer.cpp
+9
-7
9 additions, 7 deletions
...CurveFitting/src/FuncMinimizers/MoreSorensenMinimizer.cpp
with
9 additions
and
7 deletions
Framework/CurveFitting/src/FuncMinimizers/MoreSorensenMinimizer.cpp
+
9
−
7
View file @
0454b318
...
@@ -28,13 +28,13 @@ std::string MoreSorensenMinimizer::name() const { return "More-Sorensen"; }
...
@@ -28,13 +28,13 @@ std::string MoreSorensenMinimizer::name() const { return "More-Sorensen"; }
namespace
{
namespace
{
/** Solve a system of linear equations. The system's matrix must be
/** Solve a system of linear equations. The system's matrix must be
* positive-definite.
*
positive-definite.
* @param A :: A matrix of a system of equations.
Must be positive-definite
*
@param A :: A matrix of a system of equations.
* otherwise
* Must be positive-definite for success.
*
the solution will not be found and an error code returned
.
*
@param b :: A vector of the right-hand side
.
* @param
b
:: A
vector of the right-hand side
.
*
@param
LtL
:: A
work matrix
.
* @param
LtL
:: A
work matrix
.
*
@param
x
:: A
vector that receives the solution
.
* @
param x :: A vector that receives the solution.
*
@
return true if successful
*/
*/
bool
solveSpd
(
const
DoubleFortranMatrix
&
A
,
const
DoubleFortranVector
&
b
,
bool
solveSpd
(
const
DoubleFortranMatrix
&
A
,
const
DoubleFortranVector
&
b
,
DoubleFortranMatrix
&
LtL
,
DoubleFortranVector
&
x
)
{
DoubleFortranMatrix
&
LtL
,
DoubleFortranVector
&
x
)
{
...
@@ -103,6 +103,7 @@ DoubleFortranVector negative(const DoubleFortranVector &v) {
...
@@ -103,6 +103,7 @@ DoubleFortranVector negative(const DoubleFortranVector &v) {
* @param options :: The options.
* @param options :: The options.
* @param inform :: The inform struct.
* @param inform :: The inform struct.
* @param w :: The work struct.
* @param w :: The work struct.
* @return true if successful
*/
*/
bool
getPdShift
(
double
&
sigma
,
DoubleFortranVector
&
d
,
bool
getPdShift
(
double
&
sigma
,
DoubleFortranVector
&
d
,
const
nlls_options
&
options
,
nlls_inform
&
inform
,
const
nlls_options
&
options
,
nlls_inform
&
inform
,
...
@@ -136,6 +137,7 @@ bool getPdShift(double &sigma, DoubleFortranVector &d,
...
@@ -136,6 +137,7 @@ bool getPdShift(double &sigma, DoubleFortranVector &d,
* @param b :: The second vector.
* @param b :: The second vector.
* @param Delta :: The Delta.
* @param Delta :: The Delta.
* @param beta :: The beta.
* @param beta :: The beta.
* @return true if successful
*/
*/
bool
findBeta
(
const
DoubleFortranVector
&
a
,
const
DoubleFortranVector
&
b
,
bool
findBeta
(
const
DoubleFortranVector
&
a
,
const
DoubleFortranVector
&
b
,
double
Delta
,
double
&
beta
)
{
double
Delta
,
double
&
beta
)
{
...
...
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