/dports/finance/hs-hledger/hledger-1.19/_cabal_deps/math-functions-0.3.4.1/tests/Tests/ |
H A D | RootFinding.hs | 18 , testAssertion "sin x - 0.525 [rel 1e-12]" $ testRiddersSin0_525 (RelTol 1e-12) 19 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testRiddersSin0_525 (RelTol 1e-6) 22 [ testAssertion "sin x - 0.525 [rel 1e-12]" $ testNewtonSin0_525 (RelTol 1e-12) 23 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testNewtonSin0_525 (RelTol 1e-6) 27 let Root r = newtonRaphson def{newtonTol=RelTol 0} (1,1000,1000)
|
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/math-functions-0.3.4.2/tests/Tests/ |
H A D | RootFinding.hs | 18 , testAssertion "sin x - 0.525 [rel 1e-12]" $ testRiddersSin0_525 (RelTol 1e-12) 19 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testRiddersSin0_525 (RelTol 1e-6) 22 [ testAssertion "sin x - 0.525 [rel 1e-12]" $ testNewtonSin0_525 (RelTol 1e-12) 23 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testNewtonSin0_525 (RelTol 1e-6) 27 let Root r = newtonRaphson def{newtonTol=RelTol 0} (1,1000,1000)
|
/dports/finance/hs-hledger-web/hledger-web-1.19/_cabal_deps/math-functions-0.3.4.1/tests/Tests/ |
H A D | RootFinding.hs | 18 , testAssertion "sin x - 0.525 [rel 1e-12]" $ testRiddersSin0_525 (RelTol 1e-12) 19 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testRiddersSin0_525 (RelTol 1e-6) 22 [ testAssertion "sin x - 0.525 [rel 1e-12]" $ testNewtonSin0_525 (RelTol 1e-12) 23 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testNewtonSin0_525 (RelTol 1e-6) 27 let Root r = newtonRaphson def{newtonTol=RelTol 0} (1,1000,1000)
|
/dports/devel/hs-spago/spago-0.20.3/_cabal_deps/math-functions-0.3.4.2/tests/Tests/ |
H A D | RootFinding.hs | 18 , testAssertion "sin x - 0.525 [rel 1e-12]" $ testRiddersSin0_525 (RelTol 1e-12) 19 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testRiddersSin0_525 (RelTol 1e-6) 22 [ testAssertion "sin x - 0.525 [rel 1e-12]" $ testNewtonSin0_525 (RelTol 1e-12) 23 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testNewtonSin0_525 (RelTol 1e-6) 27 let Root r = newtonRaphson def{newtonTol=RelTol 0} (1,1000,1000)
|
/dports/devel/hs-haskell-language-server/haskell-language-server-1.4.0/_cabal_deps/math-functions-0.3.4.2/tests/Tests/ |
H A D | RootFinding.hs | 18 , testAssertion "sin x - 0.525 [rel 1e-12]" $ testRiddersSin0_525 (RelTol 1e-12) 19 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testRiddersSin0_525 (RelTol 1e-6) 22 [ testAssertion "sin x - 0.525 [rel 1e-12]" $ testNewtonSin0_525 (RelTol 1e-12) 23 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testNewtonSin0_525 (RelTol 1e-6) 27 let Root r = newtonRaphson def{newtonTol=RelTol 0} (1,1000,1000)
|
/dports/misc/hs-hascard/hascard-0.3.0.1/_cabal_deps/math-functions-0.3.4.2/tests/Tests/ |
H A D | RootFinding.hs | 18 , testAssertion "sin x - 0.525 [rel 1e-12]" $ testRiddersSin0_525 (RelTol 1e-12) 19 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testRiddersSin0_525 (RelTol 1e-6) 22 [ testAssertion "sin x - 0.525 [rel 1e-12]" $ testNewtonSin0_525 (RelTol 1e-12) 23 , testAssertion "sin x - 0.525 [rel 1e-6]" $ testNewtonSin0_525 (RelTol 1e-6) 27 let Root r = newtonRaphson def{newtonTol=RelTol 0} (1,1000,1000)
|
/dports/math/octave/octave-6.4.0/scripts/ode/ |
H A D | odeget.m | 63 %! ## Return the manually changed value RelTol of the ODE options 64 %! ## structure A. If RelTol wouldn't have been changed then an 67 %! A = odeset ("RelTol", 1e-1, "AbsTol", 1e-2); 68 %! odeget (A, "RelTol", []) 70 %!assert (odeget (odeset (), "RelTol"), []) 71 %!assert (odeget (odeset ("RelTol", 10), "RelTol"), 10) 72 %!assert (odeget (odeset (), "RelTol", 10), 10)
|
H A D | decic.m | 67 ## @code{RelTol} and @code{AbsTol} which specify the error thresholds used to 78 ## use @code{RelTol} and @code{AbsTol} to adjust it. 150 ## Check AbsTol and RelTol 161 if (! isempty (options.RelTol)) 162 if (! isscalar (options.RelTol)) 164 "decic: RelTol must be a scalar value"); 166 TolX = options.RelTol; 213 %! opt = odeset ("AbsTol", 1e-8, "RelTol", 1e-4);
|
/dports/math/octave/octave-6.4.0/scripts/ode/private/ |
H A D | starting_stepsize.m | 27 …tepsize (@var{order}, @var{func}, @var{t0}, @var{x0}, @var{AbsTol}, @var{RelTol}, @var{normcontrol… 34 ## condition. @var{AbsTol} and @var{RelTol} are the absolute and relative 46 AbsTol, RelTol, normcontrol, 50 d0 = AbsRel_norm (x0, x0, AbsTol, RelTol, normcontrol); 57 d1 = AbsRel_norm (y, y, AbsTol, RelTol, normcontrol); 74 AbsRel_norm (yh - y, yh - y, AbsTol, RelTol, normcontrol);
|
H A D | AbsRel_norm.m | 27 ## @deftypefn {} {retval =} AbsRel_norm (@var{x}, @var{x_old}, @var{AbsTol}, @var{RelTol}, @var{nor… 31 function retval = AbsRel_norm (x, x_old, AbsTol, RelTol, normcontrol, y = zeros (size (x))) 34 sc = max (AbsTol(:), RelTol * max (sqrt (sumsq (x)), sqrt (sumsq (x_old)))); 37 sc = max (AbsTol(:), RelTol .* max (abs (x), abs (x_old)));
|
/dports/math/octave/octave-6.4.0/scripts/general/ |
H A D | integral2.m | 50 ## @item RelTol 71 ## $$error \leq \max \left( AbsTol, RelTol\cdot\vert q\vert \right)$$ 77 ## @var{error} <= max (@var{AbsTol}, @var{RelTol}*|@var{q}|) 273 %!assert (integral2 (f, 0, 5, -5, 0, "RelTol", 1e-5), 5000, -1e-5) 281 %!assert (integral2 (f, 0, 1, 0, 1, "AbsTol", 1e-8, "RelTol", 1e-6), 295 %!assert (integral2 (f, 0, 1, 0, 1, "AbsTol", 1e-8, "RelTol", 1e-6, 323 %!error <RelTol value must be a numeric> 324 %! integral2 (@plus, 1, 2, 3, 4, "RelTol", "foo"); 325 %!error <RelTol value must be a .* scalar> 326 %! integral2 (@plus, 1, 2, 3, 4, "RelTol", [1, 2]); [all …]
|
H A D | integral.m | 70 ## @item RelTol 78 ## $$error \leq \max \left( AbsTol, RelTol\cdot\vert q\vert \right)$$ 84 ## @var{error} <= max (@var{AbsTol}, @var{RelTol}*|@var{q}|). 104 ## @qcode{"ArrayValued"} cannot be combined with @qcode{"RelTol"} or 165 " RelTol ignored."]); 182 q = quadgk (f, a, b, "AbsTol", abstol, "RelTol", reltol, 199 %! assert (integral (f, 0, Inf, "RelTol", 1e-12), exact, -1e-12); 230 %! assert (integral (f, 0, inf, "RelTol", 1e-8, "AbsTol", 1e-12), -15, -1e-8); 240 %! "AbsTol", 0, "RelTol", 1e-8), 271 %!error integral (@sin, 0, 1, "RelTol", ones (2,2)) [all …]
|
H A D | integral3.m | 51 ## @item RelTol 72 ## $$error \leq \max \left( AbsTol, RelTol\cdot\vert q\vert \right)$$ 78 ## @var{error} <= max (@var{AbsTol}, @var{RelTol}*|@var{q}|) 272 "AbsTol", abstol, "RelTol", reltol); 303 %!assert (integral3 (f, 0, 5, -5, 0, 0, 5, "RelTol", 1e-5), 9375, -1e-5) 337 %!error <RelTol value must be a numeric> 338 %! integral3 (@plus, 1, 2, 3, 4, 5, 6, "RelTol", "foo"); 339 %!error <RelTol value must be a .* scalar> 340 %! integral3 (@plus, 1, 2, 3, 4, 5, 6, "RelTol", [1, 2]); 341 %!error <RelTol value must be.* .= 0> [all …]
|
H A D | quad2d.m | 50 ## @item RelTol 75 ## $$error \leq \max \left( AbsTol, RelTol\cdot\vert q\vert \right)$$ 81 ## @var{error} <= max (@var{AbsTol}, @var{RelTol}*|@var{q}|) 193 error ("quad2d: RelTol value must be a numeric scalar >= 0"); 421 %!assert (quad2d (f, 0, 5, -5, 0, "RelTol", 1e-6), 5000, -1e-6) 422 %!assert (quad2d (f, 0, 5, -5, 0, "RelTol", 1e-6, "AbsTol", 1e-9), 5000, 1e-9) 428 %!assert (quad2d (f, 0, 1, 0, 1, "RelTol", 1e-5), 2*log (2), -1e-5) 429 %!assert (quad2d (f, 0, 1, 0, 1, "AbsTol", 1e-8, "RelTol", 1e-6), 455 %!error <RelTol value must be a numeric> quad2d (@plus, 1, 2, 3, 4, "RelTol", "foo") 456 %!error <RelTol value must be a .* scalar> quad2d (@plus, 1, 2, 3, 4, "RelTol", [1, 2]) [all …]
|
/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/lib/Support/ |
H A D | FileUtilities.cpp | 175 double AbsTol, double RelTol, in DiffFilesWithTolerance() argument 221 if (AbsTol == 0 && RelTol == 0) { in DiffFilesWithTolerance() 243 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance() 262 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
|
/dports/devel/llbuild/swift-llbuild-swift-DEVELOPMENT-SNAPSHOT-2017-12-10-a/lib/llvm/Support/ |
H A D | FileUtilities.cpp | 175 double AbsTol, double RelTol, in DiffFilesWithTolerance() argument 211 if (AbsTol == 0 && RelTol == 0) { in DiffFilesWithTolerance() 233 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance() 252 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
|
/dports/devel/llvm90/llvm-9.0.1.src/lib/Support/ |
H A D | FileUtilities.cpp | 178 double AbsTol, double RelTol, in DiffFilesWithTolerance() argument 214 if (AbsTol == 0 && RelTol == 0) { in DiffFilesWithTolerance() 238 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance() 257 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
|
/dports/devel/llvm80/llvm-8.0.1.src/lib/Support/ |
H A D | FileUtilities.cpp | 179 double AbsTol, double RelTol, in DiffFilesWithTolerance() argument 215 if (AbsTol == 0 && RelTol == 0) { in DiffFilesWithTolerance() 239 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance() 258 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
|
/dports/devel/llvm70/llvm-7.0.1.src/lib/Support/ |
H A D | FileUtilities.cpp | 179 double AbsTol, double RelTol, in DiffFilesWithTolerance() argument 215 if (AbsTol == 0 && RelTol == 0) { in DiffFilesWithTolerance() 239 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance() 258 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Support/ |
H A D | FileUtilities.cpp | 182 double AbsTol, double RelTol, in DiffFilesWithTolerance() argument 218 if (AbsTol == 0 && RelTol == 0) { in DiffFilesWithTolerance() 242 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance() 261 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Support/ |
H A D | FileUtilities.cpp | 182 double AbsTol, double RelTol, in DiffFilesWithTolerance() argument 218 if (AbsTol == 0 && RelTol == 0) { in DiffFilesWithTolerance() 242 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance() 261 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Support/ |
H A D | FileUtilities.cpp | 182 double AbsTol, double RelTol, in DiffFilesWithTolerance() argument 218 if (AbsTol == 0 && RelTol == 0) { in DiffFilesWithTolerance() 242 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance() 261 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Support/ |
H A D | FileUtilities.cpp | 182 double AbsTol, double RelTol, in DiffFilesWithTolerance() argument 218 if (AbsTol == 0 && RelTol == 0) { in DiffFilesWithTolerance() 242 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance() 261 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
|
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Support/ |
H A D | FileUtilities.cpp | 182 double AbsTol, double RelTol, in DiffFilesWithTolerance() argument 218 if (AbsTol == 0 && RelTol == 0) { in DiffFilesWithTolerance() 242 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance() 261 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Support/ |
H A D | FileUtilities.cpp | 182 double AbsTol, double RelTol, in DiffFilesWithTolerance() argument 218 if (AbsTol == 0 && RelTol == 0) { in DiffFilesWithTolerance() 242 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) { in DiffFilesWithTolerance() 261 if (CompareNumbers(F1P, F2P, File1End, File2End, AbsTol, RelTol, Error)) in DiffFilesWithTolerance()
|