Home
last modified time | relevance | path

Searched refs:sqrt5 (Results 1 – 25 of 122) sorted by relevance

12345

/dports/misc/vxl/vxl-3.3.2/core/vil/algo/
H A Dvil_distance_transform.cxx123 const float sqrt5 = std::sqrt(5.0f); in vil_distance_transform_r2_one_way() local
145 *p0 = std::min(p0[o8] + sqrt5, *p0); // (2,-1) in vil_distance_transform_r2_one_way()
154 *p0 = std::min(p0[o5] + sqrt5, *p0); // (-2,-1) in vil_distance_transform_r2_one_way()
155 *p0 = std::min(p0[o8] + sqrt5, *p0); // (2,-1) in vil_distance_transform_r2_one_way()
163 *p0 = std::min(p0[o5] + sqrt5, *p0); // (-2,-1) in vil_distance_transform_r2_one_way()
170 *p0 = std::min(p0[o5] + sqrt5, *p0); // (-2,-1) in vil_distance_transform_r2_one_way()
189 *p0 = std::min(p0[o6] + sqrt5, *p0); // (-1,-2) in vil_distance_transform_r2_one_way()
190 *p0 = std::min(p0[o7] + sqrt5, *p0); // (1,-2) in vil_distance_transform_r2_one_way()
191 *p0 = std::min(p0[o8] + sqrt5, *p0); // (2,-1) in vil_distance_transform_r2_one_way()
212 *p0 = std::min(p0[o5] + sqrt5, *p0); // (-2,-1) in vil_distance_transform_r2_one_way()
[all …]
/dports/misc/vxl/vxl-3.3.2/core/vil/algo/tests/
H A Dtest_algo_distance_transform.cxx67 const float sqrt5 = std::sqrt(5.0f); in test_algo_distance_transform2() local
78 TEST_NEAR("(11,12)", src_im(11, 12), sqrt5, 1e-6); in test_algo_distance_transform2()
79 TEST_NEAR("(12,11)", src_im(12, 11), sqrt5, 1e-6); in test_algo_distance_transform2()
87 TEST_NEAR("(1,3)", src_im(1, 3), sqrt5, 1e-6); in test_algo_distance_transform2()
91 TEST_NEAR("(1,7)", src_im(1, 7), sqrt5, 1e-6); in test_algo_distance_transform2()
100 TEST_NEAR("(3,19)", src_im(3, 19), sqrt5, 1e-6); in test_algo_distance_transform2()
104 TEST_NEAR("(7,19)", src_im(7, 19), sqrt5, 1e-6); in test_algo_distance_transform2()
/dports/math/reduce/Reduce-svn5758-src/packages/arnum/
H A Darnum.tst77 defpoly sqrt5**2-5,cbrt3**3-3;
81 sqrt5**2;
85 sqrt5;
87 sqrt(x**2+2*(sqrt5-cbrt3)*x+5-2*sqrt5*cbrt3+cbrt3**2);
91 1/(x+sqrt5-cbrt3);
H A Darnum.rlg185 defpoly sqrt5**2-5,cbrt3**3-3;
201 sqrt5**2;
215 sqrt5;
223 sqrt(x**2+2*(sqrt5-cbrt3)*x+5-2*sqrt5*cbrt3+cbrt3**2);
237 1/(x+sqrt5-cbrt3);
/dports/math/reduce/Reduce-svn5758-src/xmpl/
H A Darnum.tst77 defpoly sqrt5**2-5,cbrt3**3-3;
81 sqrt5**2;
85 sqrt5;
87 sqrt(x**2+2*(sqrt5-cbrt3)*x+5-2*sqrt5*cbrt3+cbrt3**2);
91 1/(x+sqrt5-cbrt3);
H A Darnum.rlg185 defpoly sqrt5**2-5,cbrt3**3-3;
201 sqrt5**2;
215 sqrt5;
223 sqrt(x**2+2*(sqrt5-cbrt3)*x+5-2*sqrt5*cbrt3+cbrt3**2);
237 1/(x+sqrt5-cbrt3);
/dports/science/wxmacmolplt/wxmacmolplt-7.7-43-g9a46f7a/src/
H A Dorbitals.cpp545 float sqrt5 = sqrt(5.0); in RotateVectors() local
634 OrigVec[3] = MOVector[ivec+3]*sqrt5; in RotateVectors()
635 OrigVec[4] = MOVector[ivec+4]*sqrt5; in RotateVectors()
636 OrigVec[5] = MOVector[ivec+5]*sqrt5; in RotateVectors()
637 OrigVec[6] = MOVector[ivec+6]*sqrt5; in RotateVectors()
638 OrigVec[7] = MOVector[ivec+7]*sqrt5; in RotateVectors()
639 OrigVec[8] = MOVector[ivec+8]*sqrt5; in RotateVectors()
1188 float sqrt5 = sqrt(5.0); in SetupMOScreens() local
1478 float sqrt5 = sqrt(5.0); in CalculateMOAmplitude() local
1703 float sqrt5 = sqrt(5.0); in CalculateMOAmplitude2() local
[all …]
H A DMEP.cpp896 double sqrt5 = sqrt(5.0); in GetAODensity() local
941 DensityFactorI *= sqrt5; in GetAODensity()
949 DensityFactorI *= sqrt5*onedsqrt3; in GetAODensity()
961 DensityFactorI *= sqrt7/(sqrt3*sqrt5); in GetAODensity()
984 DensityFactorJ *= sqrt5; in GetAODensity()
992 DensityFactorJ *= sqrt5*onedsqrt3; in GetAODensity()
1004 DensityFactorJ *= sqrt7/(sqrt3*sqrt5); in GetAODensity()
/dports/science/cp2k-data/cp2k-7.1.0/src/aobasis/
H A Dao_util.F39 REAL(KIND=dp), PARAMETER :: root4pio5 = root4pi/sqrt5
46 REAL(KIND=dp), PARAMETER :: s_root5o16pi = sqrt5*s_root1o16pi
47 REAL(KIND=dp), PARAMETER :: root16pio5 = root16pi/sqrt5
60 REAL(KIND=dp), PARAMETER :: s_3root35o16pi = sqrt5*s_3root7o16pi
61 REAL(KIND=dp), PARAMETER :: root16pio35o3 = root16pio7o3/sqrt5
66 REAL(KIND=dp), PARAMETER :: s_3root5o32pi = 3.0_dp*sqrt5*s_root1o32pi
67 REAL(KIND=dp), PARAMETER :: root32pio5o3 = root32pi/sqrt5/3.0_dp
68 REAL(KIND=dp), PARAMETER :: s_9root5o32pi = 9.0_dp*sqrt5*s_root1o32pi
69 REAL(KIND=dp), PARAMETER :: root32pio5o9 = root32pi/sqrt5/9.0_dp
71 REAL(KIND=dp), PARAMETER :: root32pio5o12 = root32pi/sqrt5/12.0_dp
[all …]
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/aobasis/
H A Dao_util.F40 REAL(KIND=dp), PARAMETER :: root4pio5 = root4pi/sqrt5
47 REAL(KIND=dp), PARAMETER :: s_root5o16pi = sqrt5*s_root1o16pi
48 REAL(KIND=dp), PARAMETER :: root16pio5 = root16pi/sqrt5
61 REAL(KIND=dp), PARAMETER :: s_3root35o16pi = sqrt5*s_3root7o16pi
62 REAL(KIND=dp), PARAMETER :: root16pio35o3 = root16pio7o3/sqrt5
67 REAL(KIND=dp), PARAMETER :: s_3root5o32pi = 3.0_dp*sqrt5*s_root1o32pi
68 REAL(KIND=dp), PARAMETER :: root32pio5o3 = root32pi/sqrt5/3.0_dp
69 REAL(KIND=dp), PARAMETER :: s_9root5o32pi = 9.0_dp*sqrt5*s_root1o32pi
70 REAL(KIND=dp), PARAMETER :: root32pio5o9 = root32pi/sqrt5/9.0_dp
72 REAL(KIND=dp), PARAMETER :: root32pio5o12 = root32pi/sqrt5/12.0_dp
[all …]
/dports/math/cln/cln-1.3.6/examples/
H A Dfibonacci.cc118 cl_R sqrt5 = sqrt(cl_float(5,prec)); in fibonacci_slow() local
119 cl_R phi = (1+sqrt5)/2; in fibonacci_slow()
120 return round1( expt(phi,n)/sqrt5 ); in fibonacci_slow()
/dports/science/libefp/libefp-1.5.0/src/
H A Dxr.c820 const double sqrt5 = sqrt(5.0); in coef_deriv_f() local
825 der[1] = sqrt5 * coef[6]; in coef_deriv_f()
826 der[2] = -sqrt5 * coef[8]; in coef_deriv_f()
830 der[6] = -3.0 / sqrt5 * coef[1] + 2.0 * coef[8]; in coef_deriv_f()
832 der[8] = 3.0 / sqrt5 * coef[2] - 2.0 * coef[6]; in coef_deriv_f()
836 der[0] = -sqrt5 * coef[4]; in coef_deriv_f()
838 der[2] = sqrt5 * coef[7]; in coef_deriv_f()
840 der[4] = 3.0 / sqrt5 * coef[0] - 2.0 * coef[7]; in coef_deriv_f()
848 der[0] = sqrt5 * coef[3]; in coef_deriv_f()
849 der[1] = -sqrt5 * coef[5]; in coef_deriv_f()
[all …]
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/sandbox/nonparametric/
H A Dkernel_extras.py99 sqrt5 = np.sqrt(5.)
100 fct1 = (1 - sqrt5) / 2.
101 fct2 = (1 + sqrt5) / 2.
104 r = fct2 / sqrt5
/dports/math/py-Diofant/Diofant-0.13.0/diofant/tests/domains/
H A Dtest_domains.py266 sqrt5 = QQ.algebraic_field(sqrt(5))
270 assert sqrt5.unify(sqrt7) == sqrt57
272 assert sqrt5.unify(sqrt5.inject(x, y)) == sqrt5.inject(x, y)
273 assert sqrt5.inject(x, y).unify(sqrt5) == sqrt5.inject(x, y)
275 assert sqrt5.unify(sqrt5.inject(x, y).field) == sqrt5.inject(x, y).field
276 assert sqrt5.inject(x, y).field.unify(sqrt5) == sqrt5.inject(x, y).field
278 assert sqrt5.unify(sqrt7.inject(x, y)) == sqrt57.inject(x, y)
279 assert sqrt5.inject(x, y).unify(sqrt7) == sqrt57.inject(x, y)
281 assert sqrt5.unify(sqrt7.inject(x, y).field) == sqrt57.inject(x, y).field
282 assert sqrt5.inject(x, y).field.unify(sqrt7) == sqrt57.inject(x, y).field
/dports/math/py-sympy/sympy-1.9/sympy/polys/domains/tests/
H A Dtest_domains.py272 sqrt5 = QQ.algebraic_field(sqrt(5))
276 assert sqrt5.unify(sqrt7) == sqrt57
278 assert sqrt5.unify(sqrt5[x, y]) == sqrt5[x, y]
279 assert sqrt5[x, y].unify(sqrt5) == sqrt5[x, y]
281 assert sqrt5.unify(sqrt5.frac_field(x, y)) == sqrt5.frac_field(x, y)
282 assert sqrt5.frac_field(x, y).unify(sqrt5) == sqrt5.frac_field(x, y)
284 assert sqrt5.unify(sqrt7[x, y]) == sqrt57[x, y]
285 assert sqrt5[x, y].unify(sqrt7) == sqrt57[x, y]
287 assert sqrt5.unify(sqrt7.frac_field(x, y)) == sqrt57.frac_field(x, y)
288 assert sqrt5.frac_field(x, y).unify(sqrt7) == sqrt57.frac_field(x, y)
/dports/math/bonmin/Bonmin-releases-1.8.8/Bonmin/test/
H A DInterfaceTest.cpp224 double sqrt5 = sqrt(5.); in testOa() local
225 if(!eq(rowUp[0], 1./2. + 3./(2 * sqrt5))){ in testOa()
226 double error = fabs(rowUp[0] - 1./2. - 3./(2 * sqrt5)); in testOa()
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/common/
H A Dmathconstants.F24 sqrthalf, sqrt2, sqrt3, sqrt5, sqrt7, sqrt15, sqrt21, sqrt35, &
128 sqrt5 = 2.23606797749978969640917367_dp, & ! SQRT(5) variable
/dports/science/cp2k-data/cp2k-7.1.0/src/common/
H A Dmathconstants.F24 sqrthalf, sqrt2, sqrt3, sqrt5, sqrt7, sqrt15, sqrt21, sqrt35, &
128 sqrt5 = 2.23606797749978969640917367_dp, & ! SQRT(5) variable
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/test/Transforms/SLPVectorizer/X86/
H A Dsqrt.ll112 %sqrt5 = call double @llvm.sqrt.f64(double %a5)
120 …store double %sqrt5, double* getelementptr inbounds ([8 x double], [8 x double]* @dst64, i32 0, i6…
177 %sqrt5 = call float @llvm.sqrt.f32(float %a5)
185 …store float %sqrt5, float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64 …
243 %sqrt5 = call float @llvm.sqrt.f32(float %a5 )
259 …store float %sqrt5 , float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64…
/dports/devel/llvm11/llvm-11.0.1.src/test/Transforms/SLPVectorizer/X86/
H A Dsqrt.ll112 %sqrt5 = call double @llvm.sqrt.f64(double %a5)
120 …store double %sqrt5, double* getelementptr inbounds ([8 x double], [8 x double]* @dst64, i32 0, i6…
177 %sqrt5 = call float @llvm.sqrt.f32(float %a5)
185 …store float %sqrt5, float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64 …
243 %sqrt5 = call float @llvm.sqrt.f32(float %a5 )
259 …store float %sqrt5 , float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64…
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/test/Transforms/SLPVectorizer/X86/
H A Dsqrt.ll112 %sqrt5 = call double @llvm.sqrt.f64(double %a5)
120 …store double %sqrt5, double* getelementptr inbounds ([8 x double], [8 x double]* @dst64, i32 0, i6…
177 %sqrt5 = call float @llvm.sqrt.f32(float %a5)
185 …store float %sqrt5, float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64 …
243 %sqrt5 = call float @llvm.sqrt.f32(float %a5 )
259 …store float %sqrt5 , float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64…
/dports/devel/llvm10/llvm-10.0.1.src/test/Transforms/SLPVectorizer/X86/
H A Dsqrt.ll112 %sqrt5 = call double @llvm.sqrt.f64(double %a5)
120 …store double %sqrt5, double* getelementptr inbounds ([8 x double], [8 x double]* @dst64, i32 0, i6…
177 %sqrt5 = call float @llvm.sqrt.f32(float %a5)
185 …store float %sqrt5, float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64 …
243 %sqrt5 = call float @llvm.sqrt.f32(float %a5 )
259 …store float %sqrt5 , float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64…
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/test/Transforms/SLPVectorizer/X86/
H A Dsqrt.ll112 %sqrt5 = call double @llvm.sqrt.f64(double %a5)
120 …store double %sqrt5, double* getelementptr inbounds ([8 x double], [8 x double]* @dst64, i32 0, i6…
177 %sqrt5 = call float @llvm.sqrt.f32(float %a5)
185 …store float %sqrt5, float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64 …
243 %sqrt5 = call float @llvm.sqrt.f32(float %a5 )
259 …store float %sqrt5 , float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64…
/dports/devel/llvm90/llvm-9.0.1.src/test/Transforms/SLPVectorizer/X86/
H A Dsqrt.ll113 %sqrt5 = call double @llvm.sqrt.f64(double %a5)
121 …store double %sqrt5, double* getelementptr inbounds ([8 x double], [8 x double]* @dst64, i32 0, i6…
178 %sqrt5 = call float @llvm.sqrt.f32(float %a5)
186 …store float %sqrt5, float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64 …
244 %sqrt5 = call float @llvm.sqrt.f32(float %a5 )
260 …store float %sqrt5 , float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64…
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/test/Transforms/SLPVectorizer/X86/
H A Dsqrt.ll112 %sqrt5 = call double @llvm.sqrt.f64(double %a5)
120 …store double %sqrt5, double* getelementptr inbounds ([8 x double], [8 x double]* @dst64, i32 0, i6…
177 %sqrt5 = call float @llvm.sqrt.f32(float %a5)
185 …store float %sqrt5, float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64 …
243 %sqrt5 = call float @llvm.sqrt.f32(float %a5 )
259 …store float %sqrt5 , float* getelementptr inbounds ([16 x float], [16 x float]* @dst32, i32 0, i64…

12345