/dports/lang/racket/racket-8.3/src/bc/gc2/ |
H A D | roots.c | 17 roots->size = roots->size ? ( 2 * roots->size ) : 500; in grow_roots() 23 if (roots->roots) in grow_roots() 24 free(roots->roots); in grow_roots() 26 roots->roots = new_roots; in grow_roots() 58 if ( (roots->roots[astart] <= roots->roots[bstart]) in sort_and_merge_roots() 61 if (roots->roots[bend] > roots->roots[aend]) in sort_and_merge_roots() 62 roots->roots[aend] = roots->roots[bend]; in sort_and_merge_roots() 65 } else if (roots->roots[bstart] == roots->roots[bend]) { in sort_and_merge_roots() 73 roots->roots[emptystart] = roots->roots[bstart]; in sort_and_merge_roots() 74 roots->roots[emptyend] = roots->roots[bend]; in sort_and_merge_roots() [all …]
|
/dports/lang/racket-minimal/racket-8.3/src/bc/gc2/ |
H A D | roots.c | 17 roots->size = roots->size ? ( 2 * roots->size ) : 500; in grow_roots() 23 if (roots->roots) in grow_roots() 24 free(roots->roots); in grow_roots() 26 roots->roots = new_roots; in grow_roots() 58 if ( (roots->roots[astart] <= roots->roots[bstart]) in sort_and_merge_roots() 61 if (roots->roots[bend] > roots->roots[aend]) in sort_and_merge_roots() 62 roots->roots[aend] = roots->roots[bend]; in sort_and_merge_roots() 65 } else if (roots->roots[bstart] == roots->roots[bend]) { in sort_and_merge_roots() 73 roots->roots[emptystart] = roots->roots[bstart]; in sort_and_merge_roots() 74 roots->roots[emptyend] = roots->roots[bend]; in sort_and_merge_roots() [all …]
|
/dports/science/PETSc/petsc-3.14.1/src/dm/impls/patch/tests/output/ |
H A D | ex1_4.out | 46 [0] Number of roots=64, leaves=4, remote ranks=1 51 [1] Number of roots=64, leaves=2, remote ranks=1 54 [2] Number of roots=64, leaves=0, remote ranks=0 55 [3] Number of roots=64, leaves=0, remote ranks=0 56 [4] Number of roots=64, leaves=2, remote ranks=1 59 [5] Number of roots=64, leaves=1, remote ranks=1 61 [6] Number of roots=64, leaves=0, remote ranks=0 62 [7] Number of roots=64, leaves=0, remote ranks=0 63 [8] Number of roots=64, leaves=0, remote ranks=0 64 [9] Number of roots=64, leaves=0, remote ranks=0 [all …]
|
H A D | ex1_2.out | 16 [0] Number of roots=16, leaves=9, remote ranks=4 26 [1] Number of roots=16, leaves=0, remote ranks=0 27 [2] Number of roots=16, leaves=0, remote ranks=0 28 [3] Number of roots=16, leaves=0, remote ranks=0 31 [0] Number of roots=16, leaves=4, remote ranks=1 36 [1] Number of roots=16, leaves=0, remote ranks=0 37 [2] Number of roots=16, leaves=0, remote ranks=0 38 [3] Number of roots=16, leaves=0, remote ranks=0 44 [0] Number of roots=16, leaves=0, remote ranks=0 45 [1] Number of roots=16, leaves=9, remote ranks=4 [all …]
|
/dports/science/axom/axom-0.6.1/src/axom/core/tests/ |
H A D | numerics_polynomial_solvers.hpp | 33 double roots[1]; in TEST() local 44 roots[0] = 0; in TEST() 56 roots[0] = 0; in TEST() 68 roots[0] = 0; in TEST() 80 roots[0] = 0; in TEST() 92 roots[0] = 0; in TEST() 119 roots[0] = 0; in TEST() 120 roots[1] = 0; in TEST() 135 roots[0] = 0; in TEST() 136 roots[1] = 0; in TEST() [all …]
|
/dports/math/mpfrcx/mpfrcx-0.6.2/tests/ |
H A D | tc_tower.c | 64 mpc_t *roots; in example1() local 97 mpc_conj (roots [12], roots [10], MPC_RNDNN); in example1() 98 mpc_conj (roots [13], roots [11], MPC_RNDNN); in example1() 99 mpc_conj (roots [14], roots [ 8], MPC_RNDNN); in example1() 100 mpc_conj (roots [15], roots [ 9], MPC_RNDNN); in example1() 101 mpc_conj (roots [16], roots [ 6], MPC_RNDNN); in example1() 102 mpc_conj (roots [17], roots [ 7], MPC_RNDNN); in example1() 103 mpc_conj (roots [18], roots [ 4], MPC_RNDNN); in example1() 104 mpc_conj (roots [19], roots [ 5], MPC_RNDNN); in example1() 132 free (roots); in example1() [all …]
|
H A D | tf_tower.c | 66 mpc_t *roots; in example1() local 142 mpc_clear (roots [i]); in example1() 143 free (roots); in example1() 156 mpc_t *roots; in example2() local 190 mpc_clear (roots [i]); in example2() 191 free (roots); in example2() 205 mpc_t *roots; in example3() local 223 mpc_init2 (roots [0], prec); in example3() 262 mpc_clear (roots [0]); in example3() 264 mpc_clear (roots [i]); in example3() [all …]
|
/dports/science/PETSc/petsc-3.14.1/src/vec/is/sf/tests/output/ |
H A D | ex5_2.out | 2 [0] Number of roots=10, leaves=70, remote ranks=7 73 [1] Number of roots=10, leaves=0, remote ranks=0 74 [2] Number of roots=10, leaves=0, remote ranks=0 75 [3] Number of roots=10, leaves=0, remote ranks=0 76 [4] Number of roots=10, leaves=0, remote ranks=0 77 [5] Number of roots=10, leaves=0, remote ranks=0 78 [6] Number of roots=10, leaves=0, remote ranks=0 86 [1] Number of roots=0, leaves=5, remote ranks=1 92 [2] Number of roots=0, leaves=5, remote ranks=1 98 [3] Number of roots=0, leaves=5, remote ranks=1 [all …]
|
/dports/textproc/py-sphinx/stage/usr/local/lib/python3.8/site-packages/Sphinx-3.5.2-py3.8.egg-info/ |
H A D | SOURCES.txt | 816 tests/roots/test-basic/conf.py 1156 tests/roots/test-intl/bom.txt 1157 tests/roots/test-intl/conf.py 1165 tests/roots/test-intl/i18n.png 1166 tests/roots/test-intl/img.png 1172 tests/roots/test-intl/raw.txt 1349 tests/roots/test-root/bom.txt 1350 tests/roots/test-root/conf.py 1356 tests/roots/test-root/img.gif 1357 tests/roots/test-root/img.pdf [all …]
|
/dports/textproc/py-sphinx/Sphinx-3.5.2/Sphinx.egg-info/ |
H A D | SOURCES.txt | 816 tests/roots/test-basic/conf.py 1156 tests/roots/test-intl/bom.txt 1157 tests/roots/test-intl/conf.py 1165 tests/roots/test-intl/i18n.png 1166 tests/roots/test-intl/img.png 1172 tests/roots/test-intl/raw.txt 1349 tests/roots/test-root/bom.txt 1350 tests/roots/test-root/conf.py 1356 tests/roots/test-root/img.gif 1357 tests/roots/test-root/img.pdf [all …]
|
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/test/java/org/apache/commons/math3/complex/ |
H A D | RootsOfUnityTest.java | 35 roots.getReal(0); in testMathIllegalState1() 41 roots.getImaginary(0); in testMathIllegalState2() 47 roots.isCounterClockWise(); in testMathIllegalState3() 53 roots.computeRoots(0); in testZeroNumberOfRoots() 60 roots.computeRoots(5); in testGetNumberOfRoots() 66 roots.computeRoots(-5); in testGetNumberOfRoots() 68 roots.computeRoots(6); in testGetNumberOfRoots() 81 roots.computeRoots(n); in testComputeRoots() 83 roots.computeRoots(-n); in testComputeRoots() 90 final int n = roots.isCounterClockWise() ? roots.getNumberOfRoots() : in doTestComputeRoots() [all …]
|
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/tests/ |
H A D | PolynomialTest.cpp | 87 Vec3 coeff(1.0, -roots[0]-roots[1], roots[0]*roots[1]); in testQuadraticRealRoots() 89 testQuadratic(coeff, Vec<2,Complex>(roots[0], roots[1])); in testQuadraticRealRoots() 109 Vec<3,Complex> coeff(1.0, -roots[0]-roots[1], roots[0]*roots[1]); in testQuadraticComplexRoots() 111 testQuadratic(coeff, roots); in testQuadraticComplexRoots() 156 …Vec4 coeff(1.0, -roots[0]-roots[1]-roots[2], roots[0]*roots[1]+roots[1]*roots[2]+roots[2]*roots[0]… in testCubicRealRoots() 158 testCubic(coeff, Vec<3,Complex>(roots[0], roots[1], roots[2])); in testCubicRealRoots() 178 …4,Complex> coeff(1.0, -roots[0]-roots[1]-roots[2], roots[0]*roots[1]+roots[1]*roots[2]+roots[2]*ro… in testCubicComplexRoots() 180 testCubic(coeff, Vec<3,Complex>(roots[0], roots[1], roots[2])); in testCubicComplexRoots() 346 Vector_<Complex> roots; in testSolveArbitrary() local 350 roots.resize(length-1); in testSolveArbitrary() [all …]
|
/dports/graphics/colmap/colmap-3.6/lib/PoissonRecon/ |
H A D | Factor.cpp | 36 roots[0][0]=-a0/a1; in Factor() 37 roots[0][1]=0; in Factor() 48 roots[0][0]=roots[1][0]=-a1; in Factor() 49 roots[0][1]=-d; in Factor() 50 roots[1][1]= d; in Factor() 54 roots[0][1]=roots[1][1]=0; in Factor() 80 roots[0][1]=roots[1][1]=roots[2][1]=0; in Factor() 94 roots[0][1]=0; in Factor() 98 roots[1][0]= roots[2][0]=-s1-s2; in Factor() 100 roots[2][1]=-roots[1][1]; in Factor() [all …]
|
/dports/math/geogram/geogram-1.7.7/src/lib/geogram/third_party/PoissonRecon/ |
H A D | Factor.cpp | 36 roots[0][0]=-a0/a1; in Factor() 37 roots[0][1]=0; in Factor() 48 roots[0][0]=roots[1][0]=-a1; in Factor() 49 roots[0][1]=-d; in Factor() 50 roots[1][1]= d; in Factor() 54 roots[0][1]=roots[1][1]=0; in Factor() 80 roots[0][1]=roots[1][1]=roots[2][1]=0; in Factor() 94 roots[0][1]=0; in Factor() 98 roots[1][0]= roots[2][0]=-s1-s2; in Factor() 100 roots[2][1]=-roots[1][1]; in Factor() [all …]
|
/dports/math/pdal/PDAL-2.3.0/vendor/kazhdan/ |
H A D | Factor.cpp | 36 roots[0][0]=-a0/a1; in Factor() 37 roots[0][1]=0; in Factor() 48 roots[0][0]=roots[1][0]=-a1; in Factor() 49 roots[0][1]=-d; in Factor() 50 roots[1][1]= d; in Factor() 54 roots[0][1]=roots[1][1]=0; in Factor() 80 roots[0][1]=roots[1][1]=roots[2][1]=0; in Factor() 94 roots[0][1]=0; in Factor() 98 roots[1][0]= roots[2][0]=-s1-s2; in Factor() 100 roots[2][1]=-roots[1][1]; in Factor() [all …]
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/meshlabplugins/filter_screened_poisson/Src/ |
H A D | Factor.cpp | 36 roots[0][0]=-a0/a1; in Factor() 37 roots[0][1]=0; in Factor() 48 roots[0][0]=roots[1][0]=-a1; in Factor() 49 roots[0][1]=-d; in Factor() 50 roots[1][1]= d; in Factor() 54 roots[0][1]=roots[1][1]=0; in Factor() 80 roots[0][1]=roots[1][1]=roots[2][1]=0; in Factor() 94 roots[0][1]=0; in Factor() 98 roots[1][0]= roots[2][0]=-s1-s2; in Factor() 100 roots[2][1]=-roots[1][1]; in Factor() [all …]
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/filter_poisson/src/ |
H A D | Factor.cpp | 36 roots[0][0]=-a0/a1; in Factor() 37 roots[0][1]=0; in Factor() 48 roots[0][0]=roots[1][0]=-a1; in Factor() 49 roots[0][1]=-d; in Factor() 50 roots[1][1]= d; in Factor() 54 roots[0][1]=roots[1][1]=0; in Factor() 80 roots[0][1]=roots[1][1]=roots[2][1]=0; in Factor() 94 roots[0][1]=0; in Factor() 98 roots[1][0]= roots[2][0]=-s1-s2; in Factor() 100 roots[2][1]=-roots[1][1]; in Factor() [all …]
|
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/surface/src/3rdparty/poisson4/ |
H A D | factor.cpp | 43 roots[0][0]=-a0/a1; in Factor() 44 roots[0][1]=0; in Factor() 55 roots[0][0]=roots[1][0]=-a1; in Factor() 56 roots[0][1]=-d; in Factor() 57 roots[1][1]= d; in Factor() 61 roots[0][1]=roots[1][1]=0; in Factor() 87 roots[0][1]=roots[1][1]=roots[2][1]=0; in Factor() 101 roots[0][1]=0; in Factor() 105 roots[1][0]= roots[2][0]=-s1-s2; in Factor() 107 roots[2][1]=-roots[1][1]; in Factor() [all …]
|
/dports/devel/R-cran-BH/BH/inst/include/boost/math/tools/ |
H A D | cubic_roots.hpp | 46 return roots; in cubic_roots() 49 roots[0] = x0; in cubic_roots() 50 roots[1] = x1; in cubic_roots() 51 return roots; in cubic_roots() 55 roots[0] = x0; in cubic_roots() 56 roots[1] = x1; in cubic_roots() 57 roots[2] = 0; in cubic_roots() 58 std::sort(roots.begin(), roots.end()); in cubic_roots() 59 return roots; in cubic_roots() 111 std::sort(roots.begin(), roots.end()); in cubic_roots() [all …]
|
/dports/science/simbody/simbody-Simbody-3.7/SimTKcommon/Polynomial/src/ |
H A D | PolynomialRootFinder.cpp | 43 roots[0] = complex<T>(root, 0.0); in findRoots() 53 roots[0] = root; in findRoots() 54 roots[1] = -root; in findRoots() 64 roots[0] = q/a; in findRoots() 65 roots[1] = c/q; in findRoots() 80 roots[0] = root; in findRoots() 81 roots[1] = -root; in findRoots() 86 roots[0] = q/a; in findRoots() 87 roots[1] = c/q; in findRoots() 139 int n = roots.size(); in findRoots() [all …]
|
/dports/math/arb/arb-2.21.1/acb_poly/ |
H A D | find_roots.c | 54 arb_set_fmpq(acb_realref(roots + 0), q, prec); in _acb_poly_roots_initial_values() 55 mag_zero(arb_radref(acb_realref(roots + 0))); in _acb_poly_roots_initial_values() 58 arb_set_fmpq(acb_imagref(roots + 0), q, prec); in _acb_poly_roots_initial_values() 59 mag_zero(arb_radref(acb_imagref(roots + 0))); in _acb_poly_roots_initial_values() 64 acb_mul(roots + i, roots + i - 1, roots + 0, prec); in _acb_poly_roots_initial_values() 71 _acb_poly_find_roots(acb_ptr roots, in _acb_poly_find_roots() argument 96 acb_inv(roots + 0, poly + 1, prec); in _acb_poly_find_roots() 97 acb_mul(roots + 0, roots + 0, poly + 0, prec); in _acb_poly_find_roots() 98 acb_neg(roots + 0, roots + 0); in _acb_poly_find_roots() 105 _acb_vec_set(roots, initial, deg); in _acb_poly_find_roots() [all …]
|
/dports/math/arb/arb-2.21.1/arb_fmpz_poly/ |
H A D | complex_roots.c | 28 static int check_isolation(acb_srcptr roots, slong len) in check_isolation() argument 34 if (arf_sgn(arb_midref(acb_imagref(roots + i))) >= 0) in check_isolation() 40 if (acb_overlaps(roots + i, roots + j)) in check_isolation() 141 acb_mul(roots + i * deflation, in arb_fmpz_poly_complex_roots() 171 arb_zero(acb_imagref(roots + i)); in arb_fmpz_poly_complex_roots() 174 if (!check_isolation(roots, deg)) in arb_fmpz_poly_complex_roots() 190 _acb_vec_sort_pretty(roots, deg); in arb_fmpz_poly_complex_roots() 195 if (acb_is_real(roots + i)) in arb_fmpz_poly_complex_roots() 202 if (arb_is_positive(acb_imagref(roots + i))) in arb_fmpz_poly_complex_roots() 204 acb_swap(roots_deflated + j, roots + i); in arb_fmpz_poly_complex_roots() [all …]
|
/dports/math/eclib/eclib-20210318/libsrc/ |
H A D | compproc.cc | 165 {roots[0]=roots[1]=roots[2]= mc1over3; in solvecubic() 169 roots[2]=-( roots[0] + roots[0]+c1); in solvecubic() 179 roots[1]=w*roots[0]; in solvecubic() 180 roots[2]=w*roots[1]; in solvecubic() 200 roots[1]=w*roots[0]; in solvecubic() 201 roots[2]=w*roots[1]; in solvecubic() 246 roots[i] = z; in solvecubic() 253 return roots; in solvecubic() 382 roots[1] = conj(roots[0]); in solverealquartic() 387 return roots; in solverealquartic() [all …]
|
/dports/lang/racket/racket-8.3/collects/compiler/ |
H A D | compilation-path.rkt | 18 (unless (and (list? roots) 19 (pair? roots) 22 roots)) 42 (define orig-root (car roots)) 44 (if (or (and (null? (cdr roots)) 49 (let loop ([roots (cdr roots)]) 51 [(null? roots) 69 #:roots [roots (current-compiled-file-roots)] 75 #:roots [roots (current-compiled-file-roots)] 76 #:default-root [default-root (and (pair? roots) (car roots))]) [all …]
|
/dports/lang/racket-minimal/racket-8.3/collects/compiler/ |
H A D | compilation-path.rkt | 18 (unless (and (list? roots) 19 (pair? roots) 22 roots)) 42 (define orig-root (car roots)) 44 (if (or (and (null? (cdr roots)) 49 (let loop ([roots (cdr roots)]) 51 [(null? roots) 69 #:roots [roots (current-compiled-file-roots)] 75 #:roots [roots (current-compiled-file-roots)] 76 #:default-root [default-root (and (pair? roots) (car roots))]) [all …]
|