Home
last modified time | relevance | path

Searched refs:errsq (Results 1 – 14 of 14) sorted by relevance

/dports/devel/hpx/hpx-1.2.1/examples/transpose/
H A Dtranspose_smp.cpp73 double errsq = 0.0; in hpx_main() local
128 errsq += test_results(order, B); in hpx_main()
134 if(errsq < epsilon) in hpx_main()
146 std::cout << "Squared errors: " << errsq << "\n"; in hpx_main()
151 << "ERROR: Aggregate squared error " << errsq in hpx_main()
188 double errsq = in test_results() local
193 double errsq = 0.0; in test_results() local
198 errsq += diff * diff; in test_results()
200 return errsq; in test_results()
205 std::cout << " Squared sum of differences: " << errsq << "\n"; in test_results()
[all …]
H A Dtranspose_serial.cpp60 double errsq = 0.0; in hpx_main() local
107 errsq += test_results(order, B); in hpx_main()
113 if(errsq < epsilon) in hpx_main()
125 std::cout << "Squared errors: " << errsq << "\n"; in hpx_main()
130 << "ERROR: Aggregate squared error " << errsq in hpx_main()
165 double errsq = 0.0; in test_results() local
172 errsq += diff * diff; in test_results()
177 std::cout << " Squared sum of differences: " << errsq << "\n"; in test_results()
179 return errsq; in test_results()
H A Dtranspose_serial_vector.cpp65 double errsq = 0.0; in hpx_main() local
112 errsq += test_results(order, B); in hpx_main()
118 if(errsq < epsilon) in hpx_main()
130 std::cout << "Squared errors: " << errsq << "\n"; in hpx_main()
135 << "ERROR: Aggregate squared error " << errsq in hpx_main()
171 double errsq = 0.0; in test_results() local
178 errsq += diff * diff; in test_results()
183 std::cout << " Squared sum of differences: " << errsq << "\n"; in test_results()
185 return errsq; in test_results()
H A Dtranspose_smp_block.cpp88 double errsq = 0.0; in hpx_main() local
134 errsq += test_results(order, block_order, B); in hpx_main()
140 if(errsq < epsilon) in hpx_main()
152 std::cout << "Squared errors: " << errsq << "\n"; in hpx_main()
157 << "ERROR: Aggregate squared error " << errsq in hpx_main()
232 double errsq = in test_results() local
237 double errsq = 0.0; in test_results() local
245 errsq += diff * diff; in test_results()
248 return errsq; in test_results()
253 std::cout << " Squared sum of differences: " << errsq << "\n"; in test_results()
[all …]
H A Dtranspose_serial_block.cpp76 double errsq = 0.0; in hpx_main() local
108 errsq += test_results(order, block_order, B); in hpx_main()
114 if(errsq < epsilon) in hpx_main()
126 std::cout << "Squared errors: " << errsq << "\n"; in hpx_main()
131 << "ERROR: Aggregate squared error " << errsq in hpx_main()
203 double errsq = 0.0; in test_results() local
214 errsq += diff * diff; in test_results()
220 std::cout << " Squared sum of differences: " << errsq << "\n"; in test_results()
222 return errsq; in test_results()
H A Dtranspose_await.cpp305 double errsq = 0.0; in hpx_main() local
335 errsq += test_results(order, block_order, B, blocks_start, blocks_end); in hpx_main()
343 if(errsq < epsilon) in hpx_main()
355 std::cout << "Squared errors: " << errsq << "\n"; in hpx_main()
360 << "ERROR: Aggregate squared error " << errsq in hpx_main()
441 double errsq = in test_results() local
448 double errsq = 0.0; in test_results() local
456 errsq += diff * diff; in test_results()
459 return errsq; in test_results()
464 std::cout << " Squared sum of differences: " << errsq << "\n"; in test_results()
[all …]
H A Dtranspose_block.cpp286 double errsq = 0.0; in hpx_main() local
344 errsq += test_results(order, block_order, B, blocks_start, blocks_end); in hpx_main()
352 if(errsq < epsilon) in hpx_main()
364 std::cout << "Squared errors: " << errsq << "\n"; in hpx_main()
369 << "ERROR: Aggregate squared error " << errsq in hpx_main()
453 double errsq = in test_results() local
460 double errsq = 0.0; in test_results() local
468 errsq += diff * diff; in test_results()
471 return errsq; in test_results()
476 std::cout << " Squared sum of differences: " << errsq << "\n"; in test_results()
[all …]
H A Dtranspose_block_numa.cpp414 double errsq = 0.0; in hpx_main() local
488 errsq += test_results(order, block_order, B, in hpx_main()
491 return errsq; in hpx_main()
502 double errsq = std::accumulate(errsqs.begin(), errsqs.end(), 0.0); in hpx_main() local
514 std::cout << "Squared errors: " << errsq << "\n"; in hpx_main()
650 double errsq = in test_results() local
659 double errsq = 0.0; in test_results() local
667 errsq += diff * diff; in test_results()
670 return errsq; in test_results()
675 std::cout << " Squared sum of differences: " << errsq << "\n"; in test_results()
[all …]
/dports/science/madness/madness-ebb3fd7/src/madness/tensor/
H A Dgfit.cc86 double errsq(const Tensor<double> f, in errsq() function
157 double errsq = 0.0; in value_and_gradient() local
164 errsq += w[i]*eps*eps; in value_and_gradient()
176 errsq += mu*c[j]*c[j]*pow(e,p) + penalty(expnt[j]); in value_and_gradient()
180 value = errsq; in value_and_gradient()
185 double errsq; in value() local
187 value_and_gradient(expnt, errsq, gradient); in value()
188 return errsq; in value()
192 double errsq; in gradient() local
194 value_and_gradient(expnt, errsq, g); in gradient()
[all …]
/dports/science/madness/madness-ebb3fd7/src/madness/mra/
H A Dtestsuite.cc367 double errsq = fsq.err(*functsq); in test_math() local
368 CHECK(errsq, 22.0*thresh, "err in fsq"); in test_math()
372 errsq = (f + fsq).norm2(); in test_math()
373 CHECK(errsq, 1e-10, "err in unaryp_op negate"); in test_math()
379 errsq = (fsq - square(f)).norm2(); in test_math()
380 CHECK(errsq, 1e-10, "err in unaryp_op square"); in test_math()
452 errsq = fsq.err(*functsq); in test_math()
453 CHECK(errsq, 3e-8, "err in fsq by multiplication"); in test_math()
/dports/math/kig/kig-21.12.3/misc/
H A Dkigpainter.cpp866 double errsq = 1e21; in drawCurve() local
867 if ( allvalid ) errsq = (0.5*p0 + 0.5*p1 - p2).squareLength(); in drawCurve()
868 errsq /= 4; in drawCurve()
871 bool dodraw = allvalid && h < hmax && errsq < sigma; in drawCurve()
/dports/math/alglib/alglib-cpp/src/
H A Dlinalg.h8973 double* errsq,
H A Dlinalg.cpp46094 double* errsq, in spsymmdiagerr() argument
46115 *errsq = 0; in spsymmdiagerr()
46151 *errsq = *errsq+ae_sqr(analysis->inputstorage.ptr.p_double[baseoffs+i]-v, _state); in spsymmdiagerr()
H A Doptimization.cpp43160 double errsq; in vipmsolver_vipmfactorize() local
43481 spsymmdiagerr(&state->ldltanalysis, &sumsq, &errsq, _state); in vipmsolver_vipmfactorize()
43482 if( ae_fp_greater(ae_sqrt(errsq/(1+sumsq), _state),ae_sqrt(ae_machineepsilon, _state)) ) in vipmsolver_vipmfactorize()
43487 (double)(ae_sqrt(errsq/(1+sumsq), _state))); in vipmsolver_vipmfactorize()
43552 (double)(ae_sqrt(errsq/(1+sumsq), _state))); in vipmsolver_vipmfactorize()