/dports/audio/afsp/AFsp-v8r2/libtsp/AF/dataio/ |
H A D | AFdWrIx.c | 61 double g, Dv; in AFdWrI1() local 71 Dv += 0.5; in AFdWrI1() 78 Dv += -0.5; in AFdWrI1() 101 double g, Dv; in AFdWrI2() local 113 Dv += 0.5; in AFdWrI2() 120 Dv += -0.5; in AFdWrI2() 149 double g, Dv; in AFdWrI3() local 162 Dv += 0.5; in AFdWrI3() 169 Dv += -0.5; in AFdWrI3() 218 Dv += 0.5; in AFdWrI4() [all …]
|
H A D | AFfWrIx.c | 61 double g, Dv; in AFfWrI1() local 71 Dv += 0.5; in AFfWrI1() 78 Dv += -0.5; in AFfWrI1() 101 double g, Dv; in AFfWrI2() local 113 Dv += 0.5; in AFfWrI2() 120 Dv += -0.5; in AFfWrI2() 148 double g, Dv; in AFfWrI3() local 161 Dv += 0.5; in AFfWrI3() 168 Dv += -0.5; in AFfWrI3() 217 Dv += 0.5; in AFfWrI4() [all …]
|
H A D | AFdWrU1.c | 51 double g, Dv; in AFdWrU1() local 59 Dv = g * Dbuff[i+is] + UINT1_OFFSET + 0.5; in AFdWrU1() 60 if (Dv >= UINT1_MAX + 1) { in AFdWrU1() 62 Dv = UINT1_MAX; in AFdWrU1() 64 else if (Dv <= 0) { in AFdWrU1() 66 Dv = 0; in AFdWrU1() 68 Buf[i] = (uint1_t) Dv; in AFdWrU1()
|
H A D | AFfWrU1.c | 51 double g, Dv; in AFfWrU1() local 59 Dv = g * Dbuff[i+is] + UINT1_OFFSET + 0.5; in AFfWrU1() 60 if (Dv >= UINT1_MAX + 1) { in AFfWrU1() 62 Dv = UINT1_MAX; in AFfWrU1() 64 else if (Dv <= 0) { in AFfWrU1() 66 Dv = 0; in AFfWrU1() 68 Buf[i] = (uint1_t) Dv; in AFfWrU1()
|
H A D | AFdWrMulaw.c | 162 double Dv; in AFdWrMulaw() local 169 Dv = AFp->ScaleF * Dbuff[i+is]; in AFdWrMulaw() 170 if (Dv > AMAX || Dv < -AMAX) in AFdWrMulaw() 172 Buf[i] = Yq[SPdQuantL (Dv, Xq, NLEV)]; in AFdWrMulaw()
|
H A D | AFfWrMulaw.c | 162 double Dv; in AFfWrMulaw() local 169 Dv = AFp->ScaleF * Dbuff[i+is]; in AFfWrMulaw() 170 if (Dv > AMAX || Dv < -AMAX) in AFfWrMulaw() 172 Buf[i] = Yq[SPdQuantL (Dv, Xq, NLEV)]; in AFfWrMulaw()
|
H A D | AFdWrAlaw.c | 160 double g, Dv; in AFdWrAlaw() local 168 Dv = g * Dbuff[i+is]; in AFdWrAlaw() 169 if (Dv > AMAX || Dv < -AMAX) in AFdWrAlaw() 171 Buf[i] = Yq[SPdQuantL (Dv, Xq, NLEV)]; in AFdWrAlaw()
|
/dports/audio/afsp/AFsp-v8r2/audio/GenTone/ |
H A D | GToptions.c | 60 double Nv, Dv; in GToptions() local 107 if (STdecDfrac (OptArg, &Nv, &Dv) || Nv / Dv < 0.0) in GToptions() 109 Sine->Freq = Nv / Dv; in GToptions() 114 if (STdecDfrac (OptArg, &Nv, &Dv) || Nv / Dv < 0.0) in GToptions() 116 Sine->Ampl = SQRT2 * Nv / Dv; in GToptions() 121 if (STdecDfrac (OptArg, &Nv, &Dv) || Nv / Dv < 0.0) in GToptions() 123 Sine->Ampl = Nv / Dv; in GToptions() 128 if (STdecDfrac (OptArg, &Nv, &Dv)) in GToptions() 130 Sine->Phase = DEG_RAD * Nv / Dv; /* Radians */ in GToptions()
|
/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Modules/Transformation/src/ |
H A D | FreeFormTransformationRungeKutta.h | 53 dk(0, 0) = (Dv(0, 0) * dx(0, 0) + Dv(0, 1) * dx(1, 0) + Dv(0, 2) * dx(2, 0)) * h; in dkdx() 54 dk(0, 1) = (Dv(0, 0) * dx(0, 1) + Dv(0, 1) * dx(1, 1) + Dv(0, 2) * dx(2, 1)) * h; in dkdx() 55 dk(0, 2) = (Dv(0, 0) * dx(0, 2) + Dv(0, 1) * dx(1, 2) + Dv(0, 2) * dx(2, 2)) * h; in dkdx() 56 dk(1, 0) = (Dv(1, 0) * dx(0, 0) + Dv(1, 1) * dx(1, 0) + Dv(1, 2) * dx(2, 0)) * h; in dkdx() 57 dk(1, 1) = (Dv(1, 0) * dx(0, 1) + Dv(1, 1) * dx(1, 1) + Dv(1, 2) * dx(2, 1)) * h; in dkdx() 58 dk(1, 2) = (Dv(1, 0) * dx(0, 2) + Dv(1, 1) * dx(1, 2) + Dv(1, 2) * dx(2, 2)) * h; in dkdx() 59 dk(2, 0) = (Dv(2, 0) * dx(0, 0) + Dv(2, 1) * dx(1, 0) + Dv(2, 2) * dx(2, 0)) * h; in dkdx() 60 dk(2, 1) = (Dv(2, 0) * dx(0, 1) + Dv(2, 1) * dx(1, 1) + Dv(2, 2) * dx(2, 1)) * h; in dkdx() 61 dk(2, 2) = (Dv(2, 0) * dx(0, 2) + Dv(2, 1) * dx(1, 2) + Dv(2, 2) * dx(2, 2)) * h; in dkdx() 68 dk(0, 0) = (Dv(0, 0) * dx(0, 0) + Dv(0, 1) * dx(1, 0) + Dv(0, 2) * dx(2, 0) + dv[0]) * h; in dkdp() [all …]
|
/dports/science/dynare/dynare-4.6.4/matlab/kalman/likelihood/ |
H A D | univariate_computeDLIK.m | 26 Dv = -Z*Da(:,:) - Z*DYss(:,:); variable 52 Dv = -Da(Z,:) - DYss(Z,:); variable 97 Dv = -Da(Z,:) - DYss(Z,:); variable 106 Hesst = D2F/F-1/F^2*(DF*DF') + 2*D2v/F*v + 2*(Dv'*Dv)/F - 2*(DF*Dv)*v/F^2 ... 109 D2a = 1/F^2*(DF*DF') + 2*(Dv'*Dv)/F ; 110 % D2a = -1/F^2*(DF*DF') + 2*(Dv'*Dv)/F + 2*v^2/F^3*(DF*DF') ... 111 % - 2*(DF*Dv)*v/F^2 - 2*v/F^2*(Dv'*DF'); 112 % D2a = +2*(Dv'*Dv)/F + (DF' * DF)/F^2; 115 Da = Da + DK*v+K*Dv; 120 % D2a(:,:,j) = D2a(:,:,j) + DK*Dv(j) + DK(:,j)*Dv + K*D2v(j,:); [all …]
|
/dports/devel/boost-docs/boost_1_72_0/libs/numeric/conversion/test/ |
H A D | udt_example_0.cpp | 53 Double Dv(dv); 75 BOOST_CHECK( numeric_cast<double>(Dv) == static_cast<double>(Dv) ) ; in simplest_case() 78 BOOST_CHECK( numeric_cast<float> (Dv) == static_cast<float> (Dv) ) ; in simplest_case() 86 BOOST_CHECK( (converter<float,Double>::out_of_range(Dv) == cInRange) ); in simplest_case() 113 BOOST_CHECK( numeric_cast<int>(Dv) == static_cast<int>(Dv) ) ; in rounding() 138 BOOST_CHECK( DoubleToIntConverter::convert(Dv) == static_cast<int>(Dv) ) ; in custom_rounding()
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/numeric/conversion/test/ |
H A D | udt_example_0.cpp | 53 Double Dv(dv); 75 BOOST_CHECK( numeric_cast<double>(Dv) == static_cast<double>(Dv) ) ; in simplest_case() 78 BOOST_CHECK( numeric_cast<float> (Dv) == static_cast<float> (Dv) ) ; in simplest_case() 86 BOOST_CHECK( (converter<float,Double>::out_of_range(Dv) == cInRange) ); in simplest_case() 113 BOOST_CHECK( numeric_cast<int>(Dv) == static_cast<int>(Dv) ) ; in rounding() 138 BOOST_CHECK( DoubleToIntConverter::convert(Dv) == static_cast<int>(Dv) ) ; in custom_rounding()
|
/dports/databases/xtrabackup/boost_1_59_0/libs/numeric/conversion/test/ |
H A D | udt_example_0.cpp | 53 Double Dv(dv); 75 BOOST_CHECK( numeric_cast<double>(Dv) == static_cast<double>(Dv) ) ; in simplest_case() 78 BOOST_CHECK( numeric_cast<float> (Dv) == static_cast<float> (Dv) ) ; in simplest_case() 86 BOOST_CHECK( (converter<float,Double>::out_of_range(Dv) == cInRange) ); in simplest_case() 113 BOOST_CHECK( numeric_cast<int>(Dv) == static_cast<int>(Dv) ) ; in rounding() 138 BOOST_CHECK( DoubleToIntConverter::convert(Dv) == static_cast<int>(Dv) ) ; in custom_rounding()
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/numeric/conversion/test/ |
H A D | udt_example_0.cpp | 53 Double Dv(dv); 75 BOOST_CHECK( numeric_cast<double>(Dv) == static_cast<double>(Dv) ) ; in simplest_case() 78 BOOST_CHECK( numeric_cast<float> (Dv) == static_cast<float> (Dv) ) ; in simplest_case() 86 BOOST_CHECK( (converter<float,Double>::out_of_range(Dv) == cInRange) ); in simplest_case() 113 BOOST_CHECK( numeric_cast<int>(Dv) == static_cast<int>(Dv) ) ; in rounding() 138 BOOST_CHECK( DoubleToIntConverter::convert(Dv) == static_cast<int>(Dv) ) ; in custom_rounding()
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/libs/numeric/conversion/test/ |
H A D | udt_example_0.cpp | 53 Double Dv(dv); 75 BOOST_CHECK( numeric_cast<double>(Dv) == static_cast<double>(Dv) ) ; in simplest_case() 78 BOOST_CHECK( numeric_cast<float> (Dv) == static_cast<float> (Dv) ) ; in simplest_case() 86 BOOST_CHECK( (converter<float,Double>::out_of_range(Dv) == cInRange) ); in simplest_case() 113 BOOST_CHECK( numeric_cast<int>(Dv) == static_cast<int>(Dv) ) ; in rounding() 138 BOOST_CHECK( DoubleToIntConverter::convert(Dv) == static_cast<int>(Dv) ) ; in custom_rounding()
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/numeric/conversion/test/ |
H A D | udt_example_0.cpp | 53 Double Dv(dv); 75 BOOST_CHECK( numeric_cast<double>(Dv) == static_cast<double>(Dv) ) ; in simplest_case() 78 BOOST_CHECK( numeric_cast<float> (Dv) == static_cast<float> (Dv) ) ; in simplest_case() 86 BOOST_CHECK( (converter<float,Double>::out_of_range(Dv) == cInRange) ); in simplest_case() 113 BOOST_CHECK( numeric_cast<int>(Dv) == static_cast<int>(Dv) ) ; in rounding() 138 BOOST_CHECK( DoubleToIntConverter::convert(Dv) == static_cast<int>(Dv) ) ; in custom_rounding()
|
/dports/databases/percona57-server/boost_1_59_0/libs/numeric/conversion/test/ |
H A D | udt_example_0.cpp | 53 Double Dv(dv); 75 BOOST_CHECK( numeric_cast<double>(Dv) == static_cast<double>(Dv) ) ; in simplest_case() 78 BOOST_CHECK( numeric_cast<float> (Dv) == static_cast<float> (Dv) ) ; in simplest_case() 86 BOOST_CHECK( (converter<float,Double>::out_of_range(Dv) == cInRange) ); in simplest_case() 113 BOOST_CHECK( numeric_cast<int>(Dv) == static_cast<int>(Dv) ) ; in rounding() 138 BOOST_CHECK( DoubleToIntConverter::convert(Dv) == static_cast<int>(Dv) ) ; in custom_rounding()
|
/dports/databases/percona57-client/boost_1_59_0/libs/numeric/conversion/test/ |
H A D | udt_example_0.cpp | 53 Double Dv(dv); 75 BOOST_CHECK( numeric_cast<double>(Dv) == static_cast<double>(Dv) ) ; in simplest_case() 78 BOOST_CHECK( numeric_cast<float> (Dv) == static_cast<float> (Dv) ) ; in simplest_case() 86 BOOST_CHECK( (converter<float,Double>::out_of_range(Dv) == cInRange) ); in simplest_case() 113 BOOST_CHECK( numeric_cast<int>(Dv) == static_cast<int>(Dv) ) ; in rounding() 138 BOOST_CHECK( DoubleToIntConverter::convert(Dv) == static_cast<int>(Dv) ) ; in custom_rounding()
|
/dports/devel/boost-libs/boost_1_72_0/libs/numeric/conversion/test/ |
H A D | udt_example_0.cpp | 53 Double Dv(dv); 75 BOOST_CHECK( numeric_cast<double>(Dv) == static_cast<double>(Dv) ) ; in simplest_case() 78 BOOST_CHECK( numeric_cast<float> (Dv) == static_cast<float> (Dv) ) ; in simplest_case() 86 BOOST_CHECK( (converter<float,Double>::out_of_range(Dv) == cInRange) ); in simplest_case() 113 BOOST_CHECK( numeric_cast<int>(Dv) == static_cast<int>(Dv) ) ; in rounding() 138 BOOST_CHECK( DoubleToIntConverter::convert(Dv) == static_cast<int>(Dv) ) ; in custom_rounding()
|
/dports/devel/hyperscan/boost_1_75_0/libs/numeric/conversion/test/ |
H A D | udt_example_0.cpp | 53 Double Dv(dv); 75 BOOST_CHECK( numeric_cast<double>(Dv) == static_cast<double>(Dv) ) ; in simplest_case() 78 BOOST_CHECK( numeric_cast<float> (Dv) == static_cast<float> (Dv) ) ; in simplest_case() 86 BOOST_CHECK( (converter<float,Double>::out_of_range(Dv) == cInRange) ); in simplest_case() 113 BOOST_CHECK( numeric_cast<int>(Dv) == static_cast<int>(Dv) ) ; in rounding() 138 BOOST_CHECK( DoubleToIntConverter::convert(Dv) == static_cast<int>(Dv) ) ; in custom_rounding()
|
/dports/misc/orange3/orange3-3.29.1/Orange/widgets/data/tests/ |
H A D | test_owpivot.py | 295 domain = Domain([Dv("d1", ("a", "b")), 315 Dv("d1 (majority)", ["a", "b"]), 354 Dv("d1 (majority)", ["a", "b"]), 382 Dv("d1 (majority)", ["a", "b"]), 409 Dv("d1 (majority)", ["a", "b"]), 437 Dv("d1 (majority)", ["a", "b"]), 453 Dv("d1 (majority)", ["a", "b"]), 542 atts = (Dv(domain[0].name, ["Total"]), 558 atts = (Dv("Aggregate", 586 atts = (Dv("Aggregate", ["Count"]), [all …]
|
/dports/science/chrono/chrono-7.0.1/src/chrono/fea/ |
H A D | ChNodeFEAxyzDDD.cpp | 121 x_new(off_x + 0) = x(off_x + 0) + Dv(off_v + 0); in NodeIntStateIncrement() 122 x_new(off_x + 1) = x(off_x + 1) + Dv(off_v + 1); in NodeIntStateIncrement() 123 x_new(off_x + 2) = x(off_x + 2) + Dv(off_v + 2); in NodeIntStateIncrement() 124 x_new(off_x + 3) = x(off_x + 3) + Dv(off_v + 3); in NodeIntStateIncrement() 125 x_new(off_x + 4) = x(off_x + 4) + Dv(off_v + 4); in NodeIntStateIncrement() 126 x_new(off_x + 5) = x(off_x + 5) + Dv(off_v + 5); in NodeIntStateIncrement() 127 x_new(off_x + 6) = x(off_x + 6) + Dv(off_v + 6); in NodeIntStateIncrement() 128 x_new(off_x + 7) = x(off_x + 7) + Dv(off_v + 7); in NodeIntStateIncrement() 129 x_new(off_x + 8) = x(off_x + 8) + Dv(off_v + 8); in NodeIntStateIncrement() 130 x_new(off_x + 9) = x(off_x + 9) + Dv(off_v + 9); in NodeIntStateIncrement() [all …]
|
/dports/audio/afsp/AFsp-v8r2/audio/ResampAudio/ |
H A D | RSoptions.c | 61 double Nv, Dv, sratio, soffs; in RSoptions() local 119 if (STdecDfrac (OptArg, &Nv, &Dv) || Nv <= 0 || Dv <= 0) in RSoptions() 121 sratio = Nv / Dv; in RSoptions() 126 if (STdecDfrac (OptArg, &Nv, &Dv)) in RSoptions() 128 soffs = Nv / Dv; in RSoptions()
|
/dports/cad/opencascade/opencascade-7.6.0/src/Plate/ |
H A D | Plate_FreeGtoCConstraint.cxx | 46 gp_XYZ normale = D1T.Du^D1T.Dv; in Plate_FreeGtoCConstraint() 52 gp_XYZ N0 = D1S.Du^D1S.Dv; in Plate_FreeGtoCConstraint() 83 gp_XYZ dv = D1S.Dv*(-1.); in Plate_FreeGtoCConstraint() 113 gp_XYZ dv = D1S.Dv*(-1.); in Plate_FreeGtoCConstraint() 151 rota.Transforms(D1T.Dv); in Plate_FreeGtoCConstraint() 181 gp_XYZ Sv = D1S.Dv+dv; in Plate_FreeGtoCConstraint() 185 mat(0,1) = Su*D1T.Dv; in Plate_FreeGtoCConstraint() 187 mat(1,1) = Sv*D1T.Dv; in Plate_FreeGtoCConstraint() 318 gp_XYZ Sv = D1S.Dv+dv; in Plate_FreeGtoCConstraint() 322 mat(0,1) = Su*D1T.Dv; in Plate_FreeGtoCConstraint() [all …]
|
H A D | Plate_GtoCConstraint.cxx | 140 gp_XYZ Sv = D1S.Dv+dv; in Plate_GtoCConstraint() 144 mat(0,1) = Su*D1T.Dv; in Plate_GtoCConstraint() 146 mat(1,1) = Sv*D1T.Dv; in Plate_GtoCConstraint() 219 gp_XYZ Sv = D1S.Dv+dv; in Plate_GtoCConstraint() 223 mat(0,1) = Su*D1T.Dv; in Plate_GtoCConstraint() 225 mat(1,1) = Sv*D1T.Dv; in Plate_GtoCConstraint() 291 gp_XYZ Sv = D1S.Dv+dv; in Plate_GtoCConstraint() 295 mat(0,1) = Su*D1T.Dv; in Plate_GtoCConstraint() 297 mat(1,1) = Sv*D1T.Dv; in Plate_GtoCConstraint() 415 mat(0,1) = Su*D1T.Dv; in Plate_GtoCConstraint() [all …]
|