MCPcopy Create free account
hub / github.com/avaneev/biteopt / calcNistENSO_p

Function calcNistENSO_p

tests/test_nist.cpp:206–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206static void calcNistENSO_p( double* const minv, double* const maxv,
207 const int N, double* const optv )
208{
209 minv[ 0 ] = 1.0511; maxv[ 0 ] = 19.97;
210 minv[ 1 ] = 0.30762; maxv[ 1 ] = 5.8448;
211 minv[ 2 ] = 0.05328; maxv[ 2 ] = 1.0123;
212 minv[ 3 ] = 4.4311; maxv[ 3 ] = 84.191;
213 minv[ 4 ] = -3.084; maxv[ 4 ] = -0.16231;
214 minv[ 5 ] = 0.052554; maxv[ 5 ] = 0.99854;
215 minv[ 6 ] = 2.6888; maxv[ 6 ] = 51.086;
216 minv[ 7 ] = 0.021232; maxv[ 7 ] = 0.40341;
217 minv[ 8 ] = 0.14967; maxv[ 8 ] = 2.8437;
218
219 *optv = 7.8853978668e+002;
220}
221
222static const CTestFn TestFnNistENSO = { "NistENSO", 9, 0.0, 0.0,
223 0.0, &calcNistENSO, &calcNistENSO_p };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected