Home
last modified time | relevance | path

Searched refs:df1 (Results 1 – 18 of 18) sorted by relevance

/third_party/boost/boost/math/distributions/
Dfisher_f.hpp76 RealType df1 = dist.degrees_of_freedom1(); in pdf() local
82 function, df1, &error_result, Policy()) in pdf()
96 if(df1 < 2) in pdf()
99 else if(df1 == 2) in pdf()
113 RealType v1x = df1 * x; in pdf()
117 result = (df2 * df1) / ((df2 + v1x) * (df2 + v1x)); in pdf()
118 result *= ibeta_derivative(df2 / 2, df1 / 2, df2 / (df2 + v1x), Policy()); in pdf()
122 result = df2 + df1 * x; in pdf()
123 result = (result * df1 - x * df1 * df1) / (result * result); in pdf()
124 result *= ibeta_derivative(df1 / 2, df2 / 2, v1x / (df2 + v1x), Policy()); in pdf()
[all …]
/third_party/boost/libs/math/test/
Dtest_fisher_f.cpp30 RealType naive_pdf(RealType df1, RealType df2, RealType x) in naive_pdf() argument
40 RealType e = boost::math::lgamma((df1 + df2) / 2); in naive_pdf()
41 e += log(df1) * df1 / 2; in naive_pdf()
43 e += log(x) * ((df1 / 2) - 1); in naive_pdf()
44 e -= boost::math::lgamma(df1 / 2); in naive_pdf()
46 e -= log(df2 + x * df1) * (df1 + df2) / 2; in naive_pdf()
52 RealType df1, // Degrees of freedom 1 in test_spot() argument
59 boost::math::fisher_f_distribution<RealType> dist(df1, df2); in test_spot()
/third_party/boost/libs/math/reporting/performance/
Dtable_helper.hpp148 inline double dcdflib_f_cdf(double x, double df1, double df2) in dcdflib_f_cdf() argument
153 cdff(&what, &p, &q, &x, &df1, &df2, &status, &bound); in dcdflib_f_cdf()
157 inline double dcdflib_f_quantile(double p, double df1, double df2) in dcdflib_f_quantile() argument
162 cdff(&what, &p, &q, &x, &df1, &df2, &status, &bound); in dcdflib_f_quantile()
166 inline double dcdflib_f_n_cdf(double x, double df1, double df2, double nc) in dcdflib_f_n_cdf() argument
171 cdffnc(&what, &p, &q, &x, &df1, &df2, &nc, &status, &bound); in dcdflib_f_n_cdf()
175 inline double dcdflib_f_n_quantile(double p, double df1, double df2, double nc) in dcdflib_f_n_quantile() argument
180 cdffnc(&what, &p, &q, &x, &df1, &df2, &nc, &status, &bound); in dcdflib_f_n_quantile()
/third_party/flutter/skia/modules/skottie/src/effects/
DVenetianBlindsEffect.cpp55 df1 = 0.5f * std::min(df, 1 - t); in onMakeMask() local
108 t + df1 - df0, // fp2 in onMakeMask()
109 1 - df1 - df0, // fp3 in onMakeMask()
/third_party/skia/modules/skottie/src/effects/
DVenetianBlindsEffect.cpp73 df1 = 0.5f * std::min(df, 1 - t); in onMakeMask() local
127 t + df1 - df0, // fp2 in onMakeMask()
128 1 - df1 - df0, // fp3 in onMakeMask()
/third_party/icu/icu4c/source/test/intltest/
Daliastst.cpp101 DateFormat* df1 = DateFormat::createDateInstance(DateFormat::FULL, oldLoc); in TestDateFormat() local
105 const char* l1 = df1->getLocaleID(ULOC_VALID_LOCALE, status); in TestDateFormat()
113 if(!(df1==df2)){ in TestDateFormat()
118 delete df1; in TestDateFormat()
Dnumfmtst.cpp367 DecimalFormat df1("#", new DecimalFormatSymbols(dfs), errorCode); in TestLocalizedPatternSymbolCoverage() local
368 df1.applyPattern(standardPattern, errorCode); in TestLocalizedPatternSymbolCoverage()
371 assertTrue("DecimalFormat instances should be equal", df1 == df2); in TestLocalizedPatternSymbolCoverage()
377 localizedPattern, df1.toLocalizedPattern(lp1)); in TestLocalizedPatternSymbolCoverage()
384 DecimalFormat df1("#", new DecimalFormatSymbols(dfs), errorCode); in TestLocalizedPatternSymbolCoverage() local
385 df1.applyPattern(standardPattern, errorCode); in TestLocalizedPatternSymbolCoverage()
388 assertTrue("DecimalFormat instances should be equal", df1 == df2); in TestLocalizedPatternSymbolCoverage()
394 localizedPattern, df1.toLocalizedPattern(lp1)); in TestLocalizedPatternSymbolCoverage()
8880 …LocalPointer<DecimalFormat> df1((DecimalFormat*) NumberFormat::createInstance("en", status), statu… in TestParsePercentRegression() local
8883 df1->setLenient(TRUE); in TestParsePercentRegression()
[all …]
Ddtfmrgts.cpp1527 …LocalPointer<DateFormat> df1(DateFormat::createInstanceForSkeleton(pureGregoCal.orphan(), skeleton… in Test12902_yWithGregoCalInThaiLoc() local
1534 getFmtStr = df1->format(testDate, getFmtStr); in Test12902_yWithGregoCalInThaiLoc()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleAliasTest.java117 DateFormat df1 = DateFormat.getDateInstance(DateFormat.FULL, oldLoc); in TestDateFormat() local
121 ULocale l1 = df1.getLocale(ULocale.VALID_LOCALE); in TestDateFormat()
129 if (!df1.equals(df2)) { in TestDateFormat()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DLocaleAliasTest.java120 DateFormat df1 = DateFormat.getDateInstance(DateFormat.FULL, oldLoc); in TestDateFormat() local
124 ULocale l1 = df1.getLocale(ULocale.VALID_LOCALE); in TestDateFormat()
132 if (!df1.equals(df2)) { in TestDateFormat()
/third_party/boost/libs/math/doc/distributions/
Dfisher.qbk49 fisher_f_distribution(const RealType& df1, const RealType& df2);
51 Constructs an F-distribution with numerator degrees of freedom /df1/
54 Requires that /df1/ and /df2/ are both greater than zero, otherwise __domain_error
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java1724 DecimalFormat df1 = new DecimalFormat("#", dfs); in TestLocalizedPatternSymbolCoverage() local
1725 df1.applyPattern(standardPattern); in TestLocalizedPatternSymbolCoverage()
1729 df1, df2); in TestLocalizedPatternSymbolCoverage()
1733 localizedPattern, df1.toLocalizedPattern()); in TestLocalizedPatternSymbolCoverage()
5573 … DecimalFormat df1 = (DecimalFormat) NumberFormat.getInstance(NumberFormat.PLURALCURRENCYSTYLE);
5575 df2.setCurrency(df1.getCurrency());
5576 df2.setCurrencyPluralInfo(df1.getCurrencyPluralInfo());
5577 df1.applyPattern("0.00");
5579 assertEquals("df1 == df2", df1, df2);
5580 assertEquals("df2 == df1", df2, df1);
[all …]
DDateFormatRegressionTest.java1252 …DateFormat df1 = DateFormat.getPatternInstance(pureGregorianCalendar, skeleton, ULocale.forLanguag… in Test12902_yWithGregoCalInThaiLoc() local
1254 String getFormat = df1.format(testDate); in Test12902_yWithGregoCalInThaiLoc()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatTest.java1727 DecimalFormat df1 = new DecimalFormat("#", dfs); in TestLocalizedPatternSymbolCoverage() local
1728 df1.applyPattern(standardPattern); in TestLocalizedPatternSymbolCoverage()
1732 df1, df2); in TestLocalizedPatternSymbolCoverage()
1736 localizedPattern, df1.toLocalizedPattern()); in TestLocalizedPatternSymbolCoverage()
5576 … DecimalFormat df1 = (DecimalFormat) NumberFormat.getInstance(NumberFormat.PLURALCURRENCYSTYLE);
5578 df2.setCurrency(df1.getCurrency());
5579 df2.setCurrencyPluralInfo(df1.getCurrencyPluralInfo());
5580 df1.applyPattern("0.00");
5582 assertEquals("df1 == df2", df1, df2);
5583 assertEquals("df2 == df1", df2, df1);
[all …]
DDateFormatRegressionTest.java1255 …DateFormat df1 = DateFormat.getPatternInstance(pureGregorianCalendar, skeleton, ULocale.forLanguag… in Test12902_yWithGregoCalInThaiLoc() local
1257 String getFormat = df1.format(testDate); in Test12902_yWithGregoCalInThaiLoc()
/third_party/icu/icu4c/source/test/cintltst/
Dcloctst.c3262 UDateFormat* df1 = NULL; in TestDateFormat() local
3270 df1 = udat_open(UDAT_FULL, UDAT_FULL,oldLoc, NULL, 0, NULL, -1, &status); in TestDateFormat()
3277 l1 = udat_getLocaleByType(df1, ULOC_VALID_LOCALE, &status); in TestDateFormat()
3286 udat_close(df1); in TestDateFormat()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DIBMCalendarTest.java1003 … DateFormat df1 = handleGetDateFormat("GG yyyy-d:MM", "option=xyz", Locale.getDefault()); in TestCoverage() local
1004 … if (!df1.equals(handleGetDateFormat("GG yyyy-d:MM", "option=xyz", ULocale.getDefault()))){ in TestCoverage()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java1003 … DateFormat df1 = handleGetDateFormat("GG yyyy-d:MM", "option=xyz", Locale.getDefault()); in TestCoverage() local
1004 … if (!df1.equals(handleGetDateFormat("GG yyyy-d:MM", "option=xyz", ULocale.getDefault()))){ in TestCoverage()