Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdd19637

Browse files
committed
update to version 27.2.1.0
1 parent07934f6 commitdd19637

File tree

73 files changed

+849
-793
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+849
-793
lines changed

‎examples/ex_e04mt.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ int main(void) {
7272
std::string ptype ="Primal-Dual";
7373
auto monit =
7474
[&](nagcpp::opt::CommE04RA &comm,
75-
const nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::IN>
75+
const nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::IntentIN>
7676
&rinfo,
77-
const nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::IN>
77+
const nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::IntentIN>
7878
&stats) {
7979
double tol =1.2e-8;
8080
bool good_solution;

‎examples/ex_e04uc.cpp‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
voidobjfun(
1818
const nagcpp::types::f77_integer mode,
19-
const nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::IN> &x,
19+
const nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::IntentIN> &x,
2020
double &objf,
21-
nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::INOUT> &objgrd,
21+
nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::IntentINOUT> &objgrd,
2222
const nagcpp::types::f77_integer nstate) {
2323
if (mode ==0 || mode ==2) {
2424
objf =x(0) *x(3) * (x(0) +x(1) +x(2)) +x(2);
@@ -34,10 +34,10 @@ void objfun(
3434
voidconfun(
3535
const nagcpp::types::f77_integer mode,
3636
const nagcpp::utility::array1D<nagcpp::types::f77_integer,
37-
nagcpp::data_handling::ArgIntent::IN> &needc,
38-
const nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::IN> &x,
39-
nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::OUT> &c,
40-
nagcpp::utility::array2D<double, nagcpp::data_handling::ArgIntent::INOUT> &cjac,
37+
nagcpp::data_handling::ArgIntent::IntentIN> &needc,
38+
const nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::IntentIN> &x,
39+
nagcpp::utility::array1D<double, nagcpp::data_handling::ArgIntent::IntentOUT> &c,
40+
nagcpp::utility::array2D<double, nagcpp::data_handling::ArgIntent::IntentINOUT> &cjac,
4141
const nagcpp::types::f77_integer nstate) {
4242
if (needc(0) >0) {
4343
if (mode ==0 || mode ==2) {

‎include/c05/nagcpp_c05ay.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Copyright 2021, Numerical Algorithms Group Ltd, Oxford, UK.
44
// Generated by cpp-ft-wrapper.xsl
5-
// Version 27.2.0.0
5+
// Version 27.2.1.0
66
#ifndef NAGCPP_C05AY_HPP
77
#defineNAGCPP_C05AY_HPP
88

‎include/d01/nagcpp_d01fb.hpp‎

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Copyright 2021, Numerical Algorithms Group Ltd, Oxford, UK.
44
// Generated by cpp-ft-wrapper.xsl
5-
// Version 27.2.0.0
5+
// Version 27.2.1.0
66
#ifndef NAGCPP_D01FB_HPP
77
#defineNAGCPP_D01FB_HPP
88

@@ -97,7 +97,7 @@ namespace nagcpp {
9797
#defineD01FBFT_F \
9898
std::function<double( \
9999
const data_handling::CallbackAddresses *, types::engine_data &, \
100-
const utility::array1D<double, data_handling::ArgIntent::IN> &)>
100+
const utility::array1D<double, data_handling::ArgIntent::IntentIN> &)>
101101
#endif
102102

103103
#ifndef D01FBFT_FH
@@ -140,7 +140,8 @@ namespace nagcpp {
140140
double &retval,void *iuser,void *ruser) {
141141
error_handler::ExceptionPointer *ep =
142142
static_cast<error_handler::ExceptionPointer *>(en_data.wrapptr1);
143-
utility::array1D<double, data_handling::ArgIntent::IN>local_x(x, ndim);
143+
utility::array1D<double, data_handling::ArgIntent::IntentIN>local_x(
144+
x, ndim);
144145
data_handling::CallbackAddresses *callbacks =
145146
static_cast<data_handling::CallbackAddresses *>(en_data.wrapptr2);
146147

@@ -162,16 +163,16 @@ namespace nagcpp {
162163

163164
template<typename F_X,typename F>
164165
structd01fb_f_cs {
165-
staticdouble
166-
run(const data_handling::CallbackAddresses *callbacks,
167-
types::engine_data &en_data,
168-
const utility::array1D<double, data_handling::ArgIntent::IN> &x) {
166+
staticdoublerun(
167+
const data_handling::CallbackAddresses *callbacks,
168+
types::engine_data &en_data,
169+
const utility::array1D<double, data_handling::ArgIntent::IntentIN> &x) {
169170
F &f =
170171
*((typename std::remove_reference<F>::type *)(*callbacks).address[0]);
171172

172173
auto local_x = data_handling::convert_nag_array_to_user<
173-
const utility::array1D<double, data_handling::ArgIntent::IN>,
174-
data_handling::ArgIntent::IN, F_X>(x);
174+
const utility::array1D<double, data_handling::ArgIntent::IntentIN>,
175+
data_handling::ArgIntent::IntentIN, F_X>(x);
175176

176177
double local_retval =f(local_x.get());
177178

@@ -181,10 +182,10 @@ namespace nagcpp {
181182

182183
template<>
183184
structd01fb_f_cs<std::nullptr_t, std::nullptr_t> {
184-
staticdouble
185-
run(const data_handling::CallbackAddresses *callbacks,
186-
types::engine_data &en_data,
187-
const utility::array1D<double, data_handling::ArgIntent::IN> &x) {
185+
staticdoublerun(
186+
const data_handling::CallbackAddresses *callbacks,
187+
types::engine_data &en_data,
188+
const utility::array1D<double, data_handling::ArgIntent::IntentIN> &x) {
188189
return0;
189190
}
190191
};
@@ -198,13 +199,14 @@ namespace nagcpp {
198199
en_data.allocate_workspace = constants::NAG_ED_YES;
199200
error_handler::ExceptionPointer ep;
200201
en_data.wrapptr1 = &ep;
201-
data_handling::RawData<types::f77_integer, data_handling::ArgIntent::IN,
202+
data_handling::RawData<types::f77_integer,
203+
data_handling::ArgIntent::IntentIN,
202204
typename std::remove_reference<NPTVEC>::type>
203205
local_nptvec(nptvec);
204-
data_handling::RawData<double, data_handling::ArgIntent::IN,
206+
data_handling::RawData<double, data_handling::ArgIntent::IntentIN,
205207
typename std::remove_reference<WEIGHT>::type>
206208
local_weight(weight);
207-
data_handling::RawData<double, data_handling::ArgIntent::IN,
209+
data_handling::RawData<double, data_handling::ArgIntent::IntentIN,
208210
typename std::remove_reference<ABSCIS>::type>
209211
local_abscis(abscis);
210212
data_handling::CallbackAddressescallbacks(1);

‎include/d01/nagcpp_d01tb.hpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Copyright 2021, Numerical Algorithms Group Ltd, Oxford, UK.
44
// Generated by cpp-ft-wrapper.xsl
5-
// Version 27.2.0.0
5+
// Version 27.2.1.0
66
#ifndef NAGCPP_D01TB_HPP
77
#defineNAGCPP_D01TB_HPP
88

@@ -134,11 +134,11 @@ namespace nagcpp {
134134
engine_routines::y90haan_(en_data);
135135
en_data.allocate_workspace = constants::NAG_ED_YES;
136136

137-
data_handling::RawData<double, data_handling::ArgIntent::OUT,
137+
data_handling::RawData<double, data_handling::ArgIntent::IntentOUT,
138138
typename std::remove_reference<WEIGHT>::type>
139139
local_weight(weight);
140140
local_weight.resize(weight, n);
141-
data_handling::RawData<double, data_handling::ArgIntent::OUT,
141+
data_handling::RawData<double, data_handling::ArgIntent::IntentOUT,
142142
typename std::remove_reference<ABSCIS>::type>
143143
local_abscis(abscis);
144144
local_abscis.resize(abscis, n);

‎include/e01/nagcpp_e01ba.hpp‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Copyright 2021, Numerical Algorithms Group Ltd, Oxford, UK.
44
// Generated by cpp-ft-wrapper.xsl
5-
// Version 27.2.0.0
5+
// Version 27.2.1.0
66
#ifndef NAGCPP_E01BA_HPP
77
#defineNAGCPP_E01BA_HPP
88

@@ -106,10 +106,10 @@ namespace nagcpp {
106106
types::engine_data en_data;
107107
engine_routines::y90haan_(en_data);
108108
en_data.allocate_workspace = constants::NAG_ED_YES;
109-
data_handling::RawData<double, data_handling::ArgIntent::IN,
109+
data_handling::RawData<double, data_handling::ArgIntent::IntentIN,
110110
typename std::remove_reference<X>::type>
111111
local_x(x);
112-
data_handling::RawData<double, data_handling::ArgIntent::IN,
112+
data_handling::RawData<double, data_handling::ArgIntent::IntentIN,
113113
typename std::remove_reference<Y>::type>
114114
local_y(y);
115115

@@ -120,16 +120,16 @@ namespace nagcpp {
120120
return;
121121
}
122122
types::f77_integer local_lck = local_m +4;
123-
data_handling::RawData<double, data_handling::ArgIntent::OUT,
123+
data_handling::RawData<double, data_handling::ArgIntent::IntentOUT,
124124
typename std::remove_reference<LAMDA>::type>
125125
local_lamda(lamda);
126126
local_lamda.resize(lamda, local_m +4);
127-
data_handling::RawData<double, data_handling::ArgIntent::OUT,
127+
data_handling::RawData<double, data_handling::ArgIntent::IntentOUT,
128128
typename std::remove_reference<C>::type>
129129
local_c(c);
130130
local_c.resize(c, local_m +4);
131-
data_handling::RawData<double, data_handling::ArgIntent::OUT>local_wrk(
132-
static_cast<types::f77_integer>(0));
131+
data_handling::RawData<double, data_handling::ArgIntent::IntentOUT>
132+
local_wrk(static_cast<types::f77_integer>(0));
133133
types::f77_integer local_lwrk =0;
134134

135135
local_c.check(opt.fail,"c",true, local_m +4);

‎include/e02/nagcpp_e02bb.hpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Copyright 2021, Numerical Algorithms Group Ltd, Oxford, UK.
44
// Generated by cpp-ft-wrapper.xsl
5-
// Version 27.2.0.0
5+
// Version 27.2.1.0
66
#ifndef NAGCPP_E02BB_HPP
77
#defineNAGCPP_E02BB_HPP
88

@@ -103,10 +103,10 @@ namespace nagcpp {
103103
types::engine_data en_data;
104104
engine_routines::y90haan_(en_data);
105105
en_data.allocate_workspace = constants::NAG_ED_YES;
106-
data_handling::RawData<double, data_handling::ArgIntent::IN,
106+
data_handling::RawData<double, data_handling::ArgIntent::IntentIN,
107107
typename std::remove_reference<LAMDA>::type>
108108
local_lamda(lamda);
109-
data_handling::RawData<double, data_handling::ArgIntent::IN,
109+
data_handling::RawData<double, data_handling::ArgIntent::IntentIN,
110110
typename std::remove_reference<C>::type>
111111
local_c(c);
112112

‎include/e04/nagcpp_class_CommE04RA.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// Copyright 2021, Numerical Algorithms Group Ltd, Oxford, UK.
55
// Generated by cpp-ft-wrapper.xsl
6-
// Version 27.2.0.0
6+
// Version 27.2.1.0
77
#ifndef NAGCPP_COMME04RA
88
#defineNAGCPP_COMME04RA
99

‎include/e04/nagcpp_class_CommE04WB.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// Copyright 2021, Numerical Algorithms Group Ltd, Oxford, UK.
55
// Generated by cpp-ft-wrapper.xsl
6-
// Version 27.2.0.0
6+
// Version 27.2.1.0
77
#ifndef NAGCPP_COMME04WB
88
#defineNAGCPP_COMME04WB
99

‎include/e04/nagcpp_e04fg.hpp‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// Copyright 2021, Numerical Algorithms Group Ltd, Oxford, UK.
44
// Generated by cpp-ft-wrapper.xsl
5-
// Version 27.2.0.0
5+
// Version 27.2.1.0
66
#ifndef NAGCPP_E04FG_HPP
77
#defineNAGCPP_E04FG_HPP
88

@@ -369,10 +369,10 @@ namespace nagcpp {
369369
return;
370370
}
371371
}
372-
data_handling::RawData<double, data_handling::ArgIntent::INOUT,
372+
data_handling::RawData<double, data_handling::ArgIntent::IntentINOUT,
373373
typename std::remove_reference<X>::type>
374374
local_x(x);
375-
data_handling::RawData<double, data_handling::ArgIntent::INOUT,
375+
data_handling::RawData<double, data_handling::ArgIntent::IntentINOUT,
376376
typename std::remove_reference<RX>::type>
377377
local_rx(rx);
378378

@@ -392,11 +392,11 @@ namespace nagcpp {
392392
if (opt.fail.error_thrown) {
393393
return;
394394
}
395-
data_handling::RawData<double, data_handling::ArgIntent::OUT,
395+
data_handling::RawData<double, data_handling::ArgIntent::IntentOUT,
396396
typename std::remove_reference<RINFO>::type>
397397
local_rinfo(rinfo);
398398
local_rinfo.resize(rinfo,static_cast<types::f77_integer>(100));
399-
data_handling::RawData<double, data_handling::ArgIntent::OUT,
399+
data_handling::RawData<double, data_handling::ArgIntent::IntentOUT,
400400
typename std::remove_reference<STATS>::type>
401401
local_stats(stats);
402402
local_stats.resize(stats,static_cast<types::f77_integer>(100));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp