Skip to content

Commit 623a404

Browse files
committed
260416.124910.CST add help information about the precision option in matlab
1 parent 7dac3f8 commit 623a404

6 files changed

Lines changed: 36 additions & 6 deletions

File tree

matlab/interfaces/bobyqa.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,13 @@
8787
% default: 2*length(x0)+1
8888
% *** fortran: a boolean value indicating whether to call Fortran code or
8989
% not; default: true
90+
% *** precision: a string indicating the precision of the real numbers used in
91+
% the internal calculations of the package; possible values are 'half',
92+
% 'single', 'double', and 'quadruple'; if it is set to a value other than
93+
% 'double', then fortran will be set to true; default: 'double'
9094
% *** classical: a boolean value indicating whether to call the classical
91-
% version of Powell's Fortran code or not; default: false
95+
% version of Powell's Fortran code or not; if it is set to true, then fortran
96+
% will be set to true; default: false
9297
% *** eta1, eta2, gamma1, gamma2 (only if classical = false)
9398
% eta1, eta2, gamma1, and gamma2 are parameters in the updating scheme
9499
% of the trust region radius. Roughly speaking, the trust region radius

matlab/interfaces/cobyla.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,13 @@
132132
% positive and not larger than rhobeg; default: 1e-6
133133
% *** fortran: a boolean value indicating whether to call Fortran code or
134134
% not; default: true
135+
% *** precision: a string indicating the precision of the real numbers used in
136+
% the internal calculations of the package; possible values are 'half',
137+
% 'single', 'double', and 'quadruple'; if it is set to a value other than
138+
% 'double', then fortran will be set to true; default: 'double'
135139
% *** classical: a boolean value indicating whether to call the classical
136-
% version of Powell's Fortran code or not; default: false
140+
% version of Powell's Fortran code or not; if it is set to true, then fortran
141+
% will be set to true; default: false
137142
% *** eta1, eta2, gamma1, gamma2 (only if classical = false)
138143
% eta1, eta2, gamma1, and gamma2 are parameters in the updating scheme
139144
% of the trust region radius. Roughly speaking, the trust region radius

matlab/interfaces/lincoa.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,13 @@
105105
% default: 2*length(x0)+1
106106
% *** fortran: a boolean value indicating whether to call Fortran code or
107107
% not; default: true
108+
% *** precision: a string indicating the precision of the real numbers used in
109+
% the internal calculations of the package; possible values are 'half',
110+
% 'single', 'double', and 'quadruple'; if it is set to a value other than
111+
% 'double', then fortran will be set to true; default: 'double'
108112
% *** classical: a boolean value indicating whether to call the classical
109-
% version of Powell's Fortran code or not; default: false
113+
% version of Powell's Fortran code or not; if it is set to true, then fortran
114+
% will be set to true; default: false
110115
% *** eta1, eta2, gamma1, gamma2 (only if classical = false)
111116
% eta1, eta2, gamma1, and gamma2 are parameters in the updating scheme
112117
% of the trust region radius. Roughly speaking, the trust region radius

matlab/interfaces/newuoa.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,13 @@
6666
% default: 2*length(x0)+1
6767
% *** fortran: a boolean value indicating whether to call Fortran code or
6868
% not; default: true
69+
% *** precision: a string indicating the precision of the real numbers used in
70+
% the internal calculations of the package; possible values are 'half',
71+
% 'single', 'double', and 'quadruple'; if it is set to a value other than
72+
% 'double', then fortran will be set to true; default: 'double'
6973
% *** classical: a boolean value indicating whether to call the classical
70-
% version of Powell's Fortran code or not; default: false
74+
% version of Powell's Fortran code or not; if it is set to true, then fortran
75+
% will be set to true; default: false
7176
% *** eta1, eta2, gamma1, gamma2 (only if classical = false)
7277
% eta1, eta2, gamma1, and gamma2 are parameters in the updating scheme
7378
% of the trust region radius. Roughly speaking, the trust region radius

matlab/interfaces/prima.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,13 @@
145145
% 'cobyla' (for general constrained or unconstrained problems)
146146
% *** fortran: a boolean value indicating whether to call Fortran code or
147147
% not; default: true
148+
% *** precision: a string indicating the precision of the real numbers used in
149+
% the internal calculations of the package; possible values are 'half',
150+
% 'single', 'double', and 'quadruple'; if it is set to a value other than
151+
% 'double', then fortran will be set to true; default: 'double'
148152
% *** classical: a boolean value indicating whether to call the classical
149-
% version of Powell's Fortran code or not; default: false
153+
% version of Powell's Fortran code or not; if it is set to true, then fortran
154+
% will be set to true; default: false
150155
% *** eta1, eta2, gamma1, gamma2 (only if classical = false)
151156
% eta1, eta2, gamma1, and gamma2 are parameters in the updating scheme
152157
% of the trust region radius. Roughly speaking, the trust region radius

matlab/interfaces/uobyqa.m

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,13 @@
6363
% positive and not larger than rhobeg; default: 1e-6
6464
% *** fortran: a boolean value indicating whether to call Fortran code or
6565
% not; default: true
66+
% *** precision: a string indicating the precision of the real numbers used in
67+
% the internal calculations of the package; possible values are 'half',
68+
% 'single', 'double', and 'quadruple'; if it is set to a value other than
69+
% 'double', then fortran will be set to true; default: 'double'
6670
% *** classical: a boolean value indicating whether to call the classical
67-
% version of Powell's Fortran code or not; default: false
71+
% version of Powell's Fortran code or not; if it is set to true, then fortran
72+
% will be set to true; default: false
6873
% *** eta1, eta2, gamma1, gamma2 (only if classical = false)
6974
% eta1, eta2, gamma1, and gamma2 are parameters in the updating scheme
7075
% of the trust region radius. Roughly speaking, the trust region radius

0 commit comments

Comments
 (0)