Home
last modified time | relevance | path

Searched +refs:abs +refs:integral (Results 1 – 25 of 3848) sorted by relevance

12345678910>>...154

/dports/math/dune-functions/dune-functions-1882b3ec0a14b211dd077f0d5e6455495e28c35d/dune/functions/gridfunctions/test/
H A Dgridfunctiontest.hh34 double integral = 0; in integrateGridViewFunction() local
61 return integral; in integrateGridViewFunction()
69 double integral; in checkGridViewFunction() local
81 integral = integrateGridViewFunction(gridView, f, quadOrder); in checkGridViewFunction()
82 …passed = checkTrue(std::abs(integral-exactIntegral) < 1e-10, "Integral is "+std::to_string(integra… in checkGridViewFunction()
88 …passed = checkTrue(std::abs(integral-exactIntegral) < 1e-10, "Integral is "+std::to_string(integra… in checkGridViewFunction()
94 …passed = checkTrue(std::abs(integral-exactIntegral) < 1e-10, "Integral is "+std::to_string(integra… in checkGridViewFunction()
100 …passed = checkTrue(std::abs(integral-exactIntegral) < 1e-10, "Integral is "+std::to_string(integra… in checkGridViewFunction()
105 …passed = checkTrue(std::abs(integral-exactIntegral) < 1e-10, "Integral is "+std::to_string(integra… in checkGridViewFunction()
111 …passed = checkTrue(std::abs(integral-exactIntegral) < 1e-10, "Integral is "+std::to_string(integra… in checkGridViewFunction()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/effects/generated/
H A DGrRectBlurEffect.cpp32 highp = ((abs(rect.left()) > 16000.0 || abs(rect.top()) > 16000.0) || in emitCode()
33 abs(rect.right()) > 16000.0) || in emitCode()
34 abs(rect.bottom()) > 16000.0; in emitCode()
118 GrTexture& integral = *integralProxy.peekTexture(); in onSetData() local
119 (void)integral; in onSetData()
138 bool highp = ((abs(rect.left()) > 16000.0 || abs(rect.top()) > 16000.0) || in onGetGLSLProcessorKey()
139 abs(rect.right()) > 16000.0) || in onGetGLSLProcessorKey()
140 abs(rect.bottom()) > 16000.0; in onGetGLSLProcessorKey()
148 if (integral != that.integral) return false; in onIsEqual()
156 , integral(src.integral) in GrRectBlurEffect()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/effects/generated/
H A DGrRectBlurEffect.cpp32 highp = ((abs(rect.left()) > 16000.0 || abs(rect.top()) > 16000.0) || in emitCode()
33 abs(rect.right()) > 16000.0) || in emitCode()
34 abs(rect.bottom()) > 16000.0; in emitCode()
118 GrTexture& integral = *integralProxy.peekTexture(); in onSetData() local
119 (void)integral; in onSetData()
138 bool highp = ((abs(rect.left()) > 16000.0 || abs(rect.top()) > 16000.0) || in onGetGLSLProcessorKey()
139 abs(rect.right()) > 16000.0) || in onGetGLSLProcessorKey()
140 abs(rect.bottom()) > 16000.0; in onGetGLSLProcessorKey()
148 if (integral != that.integral) return false; in onIsEqual()
156 , integral(src.integral) in GrRectBlurEffect()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/effects/generated/
H A DGrRectBlurEffect.cpp32 highp = ((abs(rect.left()) > 16000.0 || abs(rect.top()) > 16000.0) || in emitCode()
33 abs(rect.right()) > 16000.0) || in emitCode()
34 abs(rect.bottom()) > 16000.0; in emitCode()
136 GrTexture& integral = *integralView.proxy()->peekTexture(); in onSetData() local
137 (void)integral; in onSetData()
156 bool highp = ((abs(rect.left()) > 16000.0 || abs(rect.top()) > 16000.0) || in onGetGLSLProcessorKey()
157 abs(rect.right()) > 16000.0) || in onGetGLSLProcessorKey()
158 abs(rect.bottom()) > 16000.0; in onGetGLSLProcessorKey()
166 if (integral != that.integral) return false; in onIsEqual()
174 , integral(src.integral) in GrRectBlurEffect()
[all …]
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/effects/generated/
H A DGrRectBlurEffect.cpp32 highp = ((abs(rect.left()) > 16000.0 || abs(rect.top()) > 16000.0) || in emitCode()
33 abs(rect.right()) > 16000.0) || in emitCode()
34 abs(rect.bottom()) > 16000.0; in emitCode()
118 GrTexture& integral = *integralProxy.peekTexture(); in onSetData() local
119 (void)integral; in onSetData()
138 bool highp = ((abs(rect.left()) > 16000.0 || abs(rect.top()) > 16000.0) || in onGetGLSLProcessorKey()
139 abs(rect.right()) > 16000.0) || in onGetGLSLProcessorKey()
140 abs(rect.bottom()) > 16000.0; in onGetGLSLProcessorKey()
148 if (integral != that.integral) return false; in onIsEqual()
156 , integral(src.integral) in GrRectBlurEffect()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/effects/generated/
H A DGrRectBlurEffect.cpp32 highp = ((abs(rect.left()) > 16000.0 || abs(rect.top()) > 16000.0) || in emitCode()
33 abs(rect.right()) > 16000.0) || in emitCode()
34 abs(rect.bottom()) > 16000.0; in emitCode()
118 GrTexture& integral = *integralProxy.peekTexture(); in onSetData() local
119 (void)integral; in onSetData()
138 bool highp = ((abs(rect.left()) > 16000.0 || abs(rect.top()) > 16000.0) || in onGetGLSLProcessorKey()
139 abs(rect.right()) > 16000.0) || in onGetGLSLProcessorKey()
140 abs(rect.bottom()) > 16000.0; in onGetGLSLProcessorKey()
148 if (integral != that.integral) return false; in onIsEqual()
156 , integral(src.integral) in GrRectBlurEffect()
[all …]
/dports/math/fpc-numlib/fpc-3.2.2/packages/numlib/src/
H A Dint.pas36 Procedure int1fr(f: rfunc1r; a, b, ae: ArbFloat; Var integral, err: ArbFloat;
1022 Procedure int1fr(f: rfunc1r; a, b, ae: ArbFloat; Var integral, err: ArbFloat;
1028 integral := NaN;
1035 qagie(f, 0, 2, ae, epsrel, integral, err, ier);
1036 If a=infinity Then integral := -integral
1039 Then qagie(f, b, -1, ae, epsrel, integral, err, ier)
1042 qagie(f, b, 1, ae, epsrel, integral, err, ier);
1043 integral := -integral
1049 qagie(f, a, -1, ae, epsrel, integral, err, ier);
1050 integral := -integral
[all …]
/dports/lang/fpc-source/fpc-3.2.2/packages/numlib/src/
H A Dint.pas36 Procedure int1fr(f: rfunc1r; a, b, ae: ArbFloat; Var integral, err: ArbFloat;
1022 Procedure int1fr(f: rfunc1r; a, b, ae: ArbFloat; Var integral, err: ArbFloat;
1028 integral := NaN;
1035 qagie(f, 0, 2, ae, epsrel, integral, err, ier);
1036 If a=infinity Then integral := -integral
1039 Then qagie(f, b, -1, ae, epsrel, integral, err, ier)
1042 qagie(f, b, 1, ae, epsrel, integral, err, ier);
1043 integral := -integral
1049 qagie(f, a, -1, ae, epsrel, integral, err, ier);
1050 integral := -integral
[all …]
/dports/math/dune-fem/dune-fem-d1c625e6d51167d0cce57de6adcef21f548a8f82/dune/fem/quadrature/test/
H A Delementquadrature.cc91 typename Quadrature::CoordinateType integral(0); in checkIntegration() local
99 integral[d] += weight*std::pow(x[d],double(p)); in checkIntegration()
106 ctype relativeError = std::abs(integral[d]-exact) / in checkIntegration()
107 (std::abs(integral[d])+std::abs(exact)); in checkIntegration()
119 ctype relativeError = std::abs(integral[d]-exact) / in checkIntegration()
120 (std::abs(integral[d])+std::abs(exact)); in checkIntegration()
121 …<< " in direction " << d << " (exact = " << exact << " numerical = " << integral[d] << ")" << std:… in checkIntegration()
149 if( std::abs( sum - refElement.volume() ) > 1e-8 ) in checkQuadraturePoints()
H A Dagglomerationquadrature.cc48 : gridPart_(gridPart), order_( std::abs(order) ), eps_(eps), skipFaces_( order < 0 ) in TestCaching()
73 double integral = 0 ; in testElementQuadratures() local
86 integral += quad.weight( qp ) * geo.integrationElement( quad.point( qp ) ); in testElementQuadratures()
89 if( std::abs( integral - volume ) > 1e-8 ) in testElementQuadratures()
91 …ception,"Integral of 1 of element does not yield the volume. Int = " << integral << " vol = " << v… in testElementQuadratures()
96 integral = 0; in testElementQuadratures()
101 integral += val * quad.weight( qp ) * geo.integrationElement( quad.point( qp ) ); in testElementQuadratures()
119 if( std::abs( integral - checkInt ) > 1e-8 ) in testElementQuadratures()
121 …DUNE_THROW(InvalidStateException,"Integral does not equal check! Int = " << integral << " check = … in testElementQuadratures()
/dports/devel/tcllib/tcllib-1.20/modules/math/
H A Dquasirandom.test65 if { abs($e-$a)>1.0e-7*abs($e) &&
66 abs($e-$a)>1.0e-7*abs($a) } {
71 if { abs($a) > 1.0e-7 } {
82 if { abs($e-$a)>1.0e-2*abs($e) &&
83 abs($e-$a)>1.0e-2*abs($a) } {
88 if { abs($a) > 1.0e-2 } {
264 # Test of integral methods
285 set result [simple integral const 2.0]
292 set result [simple integral const 2.0]
299 set result [simple integral const 2.0]
[all …]
/dports/devel/tcllibc/tcllib-1.20/modules/math/
H A Dquasirandom.test65 if { abs($e-$a)>1.0e-7*abs($e) &&
66 abs($e-$a)>1.0e-7*abs($a) } {
71 if { abs($a) > 1.0e-7 } {
82 if { abs($e-$a)>1.0e-2*abs($e) &&
83 abs($e-$a)>1.0e-2*abs($a) } {
88 if { abs($a) > 1.0e-2 } {
264 # Test of integral methods
285 set result [simple integral const 2.0]
292 set result [simple integral const 2.0]
299 set result [simple integral const 2.0]
[all …]
/dports/math/dune-geometry/dune-geometry-e7bfb66e48496aa28e47974c33ea9a4579bf723b/dune/geometry/test/
H A Dtest-quadrature.cc101 using std::pow; using std::abs; in checkQuadrature()
107 FieldVector<ctype,dim> integral(0); in checkQuadrature() local
115 integral[d] += weight*pow(x[d], p); in checkQuadrature()
122 ctype relativeError = abs(integral[d] - exact) / (abs(integral[d]) + abs(exact)); in checkQuadrature()
134 ctype relativeError = abs(integral[d] - exact) / (abs(integral[d]) + abs(exact)); in checkQuadrature()
135 …<< " in direction " << d << " (exact = " << exact << " numerical = " << integral[d] << ")" << std:… in checkQuadrature()
144 using std::abs; in checkWeights()
157 if (abs(volume - Dune::ReferenceElements<ctype, dim>::general(t).volume()) in checkWeights()
/dports/science/dynare/dynare-4.6.4/matlab/distributions/
H A Dlpdfgweibull.m194 %$ t(2) = abs(b)<1e-8;
211 %$ s = integral(density, 0, 100000);
219 %$ t(2) = abs(s-1)<1e-6;
234 %$ s = integral(density, 0, 100000);
257 %$ s = integral(density, 0, 100000);
286 %$ s = integral(xdens, 0, 100000);
309 %$ s = integral(xdens, 0, 100000);
332 %$ s = integral(xdens, 0, 100000);
358 %$ s(i) = integral(density, 0, .1*i);
389 %$ s(i) = integral(density, 0, .1*i);
[all …]
/dports/science/mpqc/mpqc-2.3.1/src/lib/chemistry/qc/mbptr12/
H A Dri_basis.cc89 GaussianBasisSet& abs = *(bs_aux_.pointer()); in construct_ri_basis_ksplus_() local
90 bs_ri_ = abs + bs_; in construct_ri_basis_ksplus_()
109 GaussianBasisSet& abs = *(bs_aux_.pointer()); in construct_ri_basis_evplus_() local
110 bs_ri_ = abs + bs_; in construct_ri_basis_evplus_()
184 GaussianBasisSet& abs = *(bs_aux_.pointer()); in abs_spans_obs_() local
185 Ref<GaussianBasisSet> ri_basis = abs + bs_; in abs_spans_obs_()
230 Ref<Integral> integral = ints->clone(); in orthogonalize() local
231 integral->set_basis(bs); in orthogonalize()
232 Ref<PetiteList> plist = integral->petite_list(); in orthogonalize()
285 if (!space1->integral()->equiv(space2->integral())) in orthog_comp()
[all …]
/dports/graphics/mahotas/mahotas-1.4.11/mahotas/tests/
H A Dtest_surf.py10 fi = surf.integral(f.copy())
17 fi = surf.integral(f.copy())
25 fi = surf.integral(f.copy())
39 fi = surf.integral(f.copy())
57 if (np.abs(y-256) < 8 and np.abs(x-256) < 8): is_256 = True
58 if (np.abs(y-768) < 8 and np.abs(x-768) < 8): is_768 = True
66 fi = surf.integral(f)
111 f = surf.integral(f)
120 f = surf.integral(f)
/dports/math/fpc-numlib/fpc-3.2.2/packages/numlib/tests/
H A Dintge1te.pas81 if abs(x) < ln(100 / alfa) then
262 x := abs(x);
263 alfa := abs(alfa);
299 alfa := abs(alfa);
330 integral, ae, err: ArbFloat;
354 f := inte - integral;
358 Write(alfa: numdig, ae: 10, integral: numdig, ' ', err: 10, ' ');
482 int1 := abs(alfa) + 1 / abs(alfa);
491 int1fr(f, 0, 1, ae, integral, err, term)
493 int1fr(f, ond, infinity, ae, integral, err, term)
[all …]
/dports/lang/fpc-source/fpc-3.2.2/packages/numlib/tests/
H A Dintge1te.pas81 if abs(x) < ln(100 / alfa) then
262 x := abs(x);
263 alfa := abs(alfa);
299 alfa := abs(alfa);
330 integral, ae, err: ArbFloat;
354 f := inte - integral;
358 Write(alfa: numdig, ae: 10, integral: numdig, ' ', err: 10, ' ');
482 int1 := abs(alfa) + 1 / abs(alfa);
491 int1fr(f, 0, 1, ae, integral, err, term)
493 int1fr(f, ond, infinity, ae, integral, err, term)
[all …]
/dports/math/GiNaC/ginac-1.8.2/ginac/
H A Dintegral.cpp51 integral::integral() in integral() function in GiNaC::integral
61 integral::integral(const ex & x_, const ex & a_, const ex & b_, const ex & f_) in integral() function in GiNaC::integral
130 const integral &o = static_cast<const integral &>(other); in compare_same_type()
144 ex integral::eval() const in eval()
158 ex integral::evalf() const in evalf()
194 ex integral; member
201 int c = e1.integral.compare(e2.integral); in operator ()()
255 errorvec[i] = error*abs(svec[i]); in adaptivesimpson()
268 ex nu6 = max(errorvec[i], abs(s1+s2)*error); in adaptivesimpson()
272 if (abs(ex_to<numeric>(s1+s2-nu7)) <= nu6) in adaptivesimpson()
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/images-lib/images/private/
H A Dflomap-blur.rkt21 (flomap-gaussian-blur-y (flomap-gaussian-blur-x fm (abs (real->double-flonum xσ)))
22 (abs (real->double-flonum yσ)))]))
29 (define σ (abs (real->double-flonum σ*)))
53 (define σ (abs (real->double-flonum σ*)))
93 (define (flomap-integral fm)
200 (let ([xr (abs (real->double-flonum xr))]
201 [yr (abs (real->double-flonum yr))])
211 (define r (abs (real->double-flonum r*)))
238 (define r (abs (real->double-flonum r*)))
316 (let ([xσ (abs (real->double-flonum xσ))]
[all …]
/dports/x11-toolkits/osm-gps-map/osm-gps-map-1.1.0/src/
H A Dosd-utils.c48 float integral, fractional; in osd_latitude_str() local
58 fractional = modff(latitude, &integral); in osd_latitude_str()
61 c, (int)integral, fractional*60.0); in osd_latitude_str()
67 float integral, fractional; in osd_longitude_str() local
77 fractional = modff(longitude, &integral); in osd_longitude_str()
80 c, (int)integral, fractional*60.0); in osd_longitude_str()
299 if( y < 0 && abs(x) < abs(y)) in osd_check_dpad()
302 if( y > 0 && abs(x) < abs(y)) in osd_check_dpad()
305 if( x < 0 && abs(y) < abs(x)) in osd_check_dpad()
308 if( x > 0 && abs(y) < abs(x)) in osd_check_dpad()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/effects/
H A DGrRectBlurEffect.fp20 layout(key) bool highp = abs(rect.x) > 16000 || abs(rect.y) > 16000 ||
21 abs(rect.z) > 16000 || abs(rect.w) > 16000;
29 in uniform sampler2D integral;
41 @samplerParams(integral) {
73 float integral = 0.5f * (std::erf(x) + 1.f);
106 if (!integral) {
160 // C = 1 - <integral of K from from -inf to L> - <integral of K from R to inf>
162 // C = 1 - <integral of K from from -inf to L> - <integral of K from -inf to -R>
184 xCoverage = 1 - sample(integral, half2(il, 0.5)).a
185 - sample(integral, half2(ir, 0.5)).a;
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/effects/
H A DGrRectBlurEffect.fp20 layout(key) bool highp = abs(rect.x) > 16000 || abs(rect.y) > 16000 ||
21 abs(rect.z) > 16000 || abs(rect.w) > 16000;
29 in uniform sampler2D integral;
41 @samplerParams(integral) {
73 float integral = 0.5f * (std::erf(x) + 1.f);
106 if (!integral) {
160 // C = 1 - <integral of K from from -inf to L> - <integral of K from R to inf>
162 // C = 1 - <integral of K from from -inf to L> - <integral of K from -inf to -R>
184 xCoverage = 1 - sample(integral, half2(il, 0.5)).a
185 - sample(integral, half2(ir, 0.5)).a;
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/effects/
H A DGrRectBlurEffect.fp24 layout(key) bool highp = abs(rect.x) > 16000 || abs(rect.y) > 16000 ||
25 abs(rect.z) > 16000 || abs(rect.w) > 16000;
33 in uniform sampler2D integral;
45 @samplerParams(integral) {
80 float integral = 0.5f * (std::erf(x) + 1.f);
114 if (!integral) {
168 // C = 1 - <integral of K from from -inf to L> - <integral of K from R to inf>
170 // C = 1 - <integral of K from from -inf to L> - <integral of K from -inf to -R>
192 xCoverage = 1 - sample(integral, half2(il, 0.5)).a
193 - sample(integral, half2(ir, 0.5)).a;
[all …]
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/effects/
H A DGrRectBlurEffect.fp20 layout(key) bool highp = abs(rect.x) > 16000 || abs(rect.y) > 16000 ||
21 abs(rect.z) > 16000 || abs(rect.w) > 16000;
29 in uniform sampler2D integral;
41 @samplerParams(integral) {
73 float integral = 0.5f * (std::erf(x) + 1.f);
106 if (!integral) {
160 // C = 1 - <integral of K from from -inf to L> - <integral of K from R to inf>
162 // C = 1 - <integral of K from from -inf to L> - <integral of K from -inf to -R>
184 xCoverage = 1 - sample(integral, half2(il, 0.5)).a
185 - sample(integral, half2(ir, 0.5)).a;
[all …]

12345678910>>...154