Home
last modified time | relevance | path

Searched refs:odds (Results 1 – 25 of 2503) sorted by relevance

12345678910>>...101

/dports/biology/gmap/gmap-2020-09-12/src/
H A Dmaxent_hr.c24812 return odds/(1 + odds);
24824 return odds/(1 + odds); in donor_plus_00()
24834 return odds/(1 + odds); in donor_plus_01()
24844 return odds/(1 + odds); in donor_plus_02()
24854 return odds/(1 + odds); in donor_plus_03()
24864 return odds/(1 + odds); in donor_plus_04()
24874 return odds/(1 + odds); in donor_plus_05()
24884 return odds/(1 + odds); in donor_plus_06()
24894 return odds/(1 + odds); in donor_plus_07()
24905 return odds/(1 + odds); in donor_plus_08()
[all …]
H A Dmaxent.c99373 double maxentscore, odds; in Maxent_donor_prob() local
99380 return odds/(1.0 + odds); in Maxent_donor_prob()
99395 return odds/(1.0 + odds); in Maxent_donor_prob_revcomp()
99406 return odds/(1.0 + odds); in Maxent_donor_prob_nucleotides()
99419 return log(odds); in Maxent_donor_logodds()
99429 return log(odds); in Maxent_donor_logodds_nucleotides()
99456 return odds/(1.0 + odds); in Maxent_acceptor_prob()
99483 return odds/(1.0 + odds); in Maxent_acceptor_prob_revcomp()
99507 return odds/(1.0 + odds); in Maxent_acceptor_prob_nucleotides()
99532 return log(odds); in Maxent_acceptor_logodds()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/metrics/perf/
H A Drandom_selector_unittest.cc64 EXPECT_EQ(odds.size(), results.size()); in CheckResultsAgainstOdds()
72 for (const auto& odd : odds) { in CheckResultsAgainstOdds()
84 std::vector<WeightAndValue> odds; in TEST() local
85 odds.push_back(WeightAndValue(1, "a 1")); in TEST()
87 odds.push_back(WeightAndValue(107, "c bar")); in TEST()
90 EXPECT_TRUE(random_selector.SetOdds(odds)); in TEST()
92 EXPECT_EQ(odds, random_selector.odds()); in TEST()
100 odds.push_back(WeightAndValue(1, "a 1")); in TEST()
102 odds.push_back(WeightAndValue(3, "c bar")); in TEST()
104 EXPECT_TRUE(random_selector.SetOdds(odds)); in TEST()
[all …]
H A Drandom_selector.cc19 double RandomSelector::SumWeights(const std::vector<WeightAndValue>& odds) { in SumWeights() argument
21 for (const auto& odd : odds) { in SumWeights()
29 bool RandomSelector::SetOdds(const std::vector<WeightAndValue>& odds) { in SetOdds() argument
30 double sum = SumWeights(odds); in SetOdds()
33 odds_ = odds; in SetOdds()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/flang/test/Evaluate/
H A Dfolding20.f907 logical, parameter :: odds(2,3) = mod(intmatrix, 2) == 1 variable
11 logical, parameter :: test_all = .not. all(odds)
12 logical, parameter :: test_alldim1 = all(.not. all(odds,1))
13 logical, parameter :: test_alldim2 = all(all(odds,2) .eqv. [.true., .false.])
15 logical, parameter :: test_any = any(odds)
16 logical, parameter :: test_anydim1 = all(any(odds,1))
21 logical, parameter :: test_iall_masked = iall(intmatrix,odds) == 1
26 logical, parameter :: test_iany_masked = iany(intmatrix,odds) == 7
31 logical, parameter :: test_iparity_masked = iparity(intmatrix,odds) == 7
39 logical, parameter :: test_imaxval_masked = maxval(intmatrix,odds) == 5
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/flang/test/Evaluate/
H A Dfolding20.f906 logical, parameter :: odds(2,3) = mod(intmatrix, 2) == 1 variable
10 logical, parameter :: test_all = .not. all(odds)
11 logical, parameter :: test_alldim1 = all(.not. all(odds,1))
12 logical, parameter :: test_alldim2 = all(all(odds,2) .eqv. [.true., .false.])
14 logical, parameter :: test_any = any(odds)
15 logical, parameter :: test_anydim1 = all(any(odds,1))
20 logical, parameter :: test_iall_masked = iall(intmatrix,odds) == 1
25 logical, parameter :: test_iany_masked = iany(intmatrix,odds) == 7
30 logical, parameter :: test_iparity_masked = iparity(intmatrix,odds) == 7
38 logical, parameter :: test_imaxval_masked = maxval(intmatrix,odds) == 5
[all …]
H A Dfolding24.f905 logical, parameter :: odds(*,*) = modulo(arr, 2) /= 0 variable
9 logical, parameter :: test_pack_3 = all(pack(arr, odds) == [1, 3, 5])
10 logical, parameter :: test_pack_4 = all(pack(arr, .not. odds) == [2, 4, 6])
13 …logical, parameter :: test_pack_7 = all(pack(arr, odds, vect) == [1, 3, 5, -7, -6, -5, -4, -3, -2,…
14 …logical, parameter :: test_pack_8 = all(pack(arr, .not. odds, vect) == [2, 4, 6, -7, -6, -5, -4, -…
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/flang/test/Evaluate/
H A Dfolding20.f907 logical, parameter :: odds(2,3) = mod(intmatrix, 2) == 1 variable
11 logical, parameter :: test_all = .not. all(odds)
12 logical, parameter :: test_alldim1 = all(.not. all(odds,1))
13 logical, parameter :: test_alldim2 = all(all(odds,2) .eqv. [.true., .false.])
15 logical, parameter :: test_any = any(odds)
16 logical, parameter :: test_anydim1 = all(any(odds,1))
21 logical, parameter :: test_iall_masked = iall(intmatrix,odds) == 1
26 logical, parameter :: test_iany_masked = iany(intmatrix,odds) == 7
31 logical, parameter :: test_iparity_masked = iparity(intmatrix,odds) == 7
39 logical, parameter :: test_imaxval_masked = maxval(intmatrix,odds) == 5
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/flang/test/Evaluate/
H A Dfolding20.f907 logical, parameter :: odds(2,3) = mod(intmatrix, 2) == 1
11 logical, parameter :: test_all = .not. all(odds)
12 logical, parameter :: test_alldim1 = all(.not. all(odds,1))
13 logical, parameter :: test_alldim2 = all(all(odds,2) .eqv. [.true., .false.])
15 logical, parameter :: test_any = any(odds)
16 logical, parameter :: test_anydim1 = all(any(odds,1))
21 logical, parameter :: test_iall_masked = iall(intmatrix,odds) == 1
26 logical, parameter :: test_iany_masked = iany(intmatrix,odds) == 7
31 logical, parameter :: test_iparity_masked = iparity(intmatrix,odds) == 7
39 logical, parameter :: test_imaxval_masked = maxval(intmatrix,odds) == 5
[all …]
/dports/multimedia/scte35dump/scte35dump-0.1.6/cargo-crates/odds-0.2.26/tests/
H A Dstride.rs2 extern crate odds;
4 use odds::stride::Stride;
5 use odds::stride::StrideMut;
68 odds.swap_ends(); in stride_compose()
77 assert_eq!(odds.len(), 2); in stride_compose()
78 assert_eq!(odds.get(0), Some(&1)); in stride_compose()
80 assert_eq!(odds.get(2), None); in stride_compose()
81 assert!(odds.eq( &[1, 3])); in stride_compose()
94 odds.by_ref().count(); in from_stride_empty()
95 assert!(odds.len() == 0); in from_stride_empty()
[all …]
/dports/multimedia/scte35dump/scte35dump-0.1.6/cargo-crates/itertools-0.4.19/tests/
H A Dstride.rs52 let odds = Stride::from_slice(xs, 2); in stride_compose() localVariable
53 let it = Stride::from_stride(odds, 2); in stride_compose()
68 odds.swap_ends(); in stride_compose()
77 assert_eq!(odds.len(), 2); in stride_compose()
78 assert_eq!(odds.get(0), Some(&1)); in stride_compose()
79 assert_eq!(odds.get(1), Some(&3)); in stride_compose()
80 assert_eq!(odds.get(2), None); in stride_compose()
81 assert!(equal(odds, &[1, 3])); in stride_compose()
94 odds.by_ref().count(); in from_stride_empty()
95 assert!(odds.len() == 0); in from_stride_empty()
[all …]
/dports/games/endless-sky/endless-sky-0.9.14/source/
H A DCaptureOdds.cpp127 double odds = ap / (ap + powerD[0]); in Calculate() local
128 capture.push_back(odds + (1. - odds) * capture[up]); in Calculate()
129 casualtiesA.push_back((1. - odds) * (casualtiesA[up] + 1.)); in Calculate()
130 casualtiesD.push_back(odds + (1. - odds) * casualtiesD[up]); in Calculate()
139 odds = ap / (ap + powerD[d - 1]); in Calculate()
140 capture.push_back(odds * capture.back() + (1. - odds) * capture[up]); in Calculate()
141 casualtiesA.push_back(odds * casualtiesA.back() + (1. - odds) * (casualtiesA[up] + 1.)); in Calculate()
142 casualtiesD.push_back(odds * (casualtiesD.back() + 1.) + (1. - odds) * casualtiesD[up]); in Calculate()
/dports/devel/functionalplus/FunctionalPlus-0.2.18-p0/examples/
H A Dreadme_perf_examples.cpp29 Ints odds; in Test_example_KeepIf() local
32 odds.push_back(x); in Test_example_KeepIf()
36 Ints odds; in Test_example_KeepIf() local
38 std::back_inserter(odds), is_odd_int); in Test_example_KeepIf()
42 auto odds = fplus::keep_if(is_odd_int, values); in Test_example_KeepIf() local
68 Ints odds; in Test_example_KeepIf_performance() local
71 odds.push_back(x); in Test_example_KeepIf_performance()
72 return odds; in Test_example_KeepIf_performance()
76 Ints odds; in Test_example_KeepIf_performance() local
78 std::back_inserter(odds), is_odd_int); in Test_example_KeepIf_performance()
[all …]
/dports/science/py-scipy/scipy-1.7.1/scipy/stats/biasedurn/
H A Dstoc3.cpp101 if (odds == 0.) { in WalleniusNCHyp()
107 if (odds == 1.) { in WalleniusNCHyp()
140 mw1 = m * odds; in WalleniusNCHypUrn()
232 if (odds < 1.) { in WalleniusNCHypRatioOfUnifoms()
265 if ((odds>5. || odds<0.2) && r1>=-0.5 && r1<=8.) { in WalleniusNCHypRatioOfUnifoms()
812 if (odds == 0.) { in FishersNCHyp()
818 if (odds == 1.) { in FishersNCHyp()
847 odds = 1. / odds; in FishersNCHyp()
851 if (n < 30 && N < 1024 && odds > 1.E-5 && odds < 1.E5) { in FishersNCHyp()
932 f *= a1 * a2 * odds; in FishersNCHypInversion()
[all …]
H A Dfnchyppr.cpp37 this->odds = odds; this->accuracy = accuracy; in CFishersNCHypergeometric()
66 if (odds == 1.) { in mode()
72 A = 1. - odds; in mode()
73 B = (m1+n1)*odds - L; in mode()
94 b = a*a - 4.*odds*(odds-1.)*m*n; in mean()
148 if (odds == 1.) { in probability()
156 if (odds == 0.) { in probability()
228 dx * log(odds); in probabilityRatio()
269 if (odds <= 0.) { in MakeTable()
447 q += m[i] * r * odds[i] / (r * odds[i] + 1.); in mean()
[all …]
H A Dstocc.h403 …int32_t WalleniusNCHypUrn (int32_t n, int32_t m, int32_t N, double odds); // WalleniusNCHyp by urn…
405 …int32_t WalleniusNCHypTable (int32_t n, int32_t m, int32_t N, double odds); // WalleniusNCHyp by t…
407 …int32_t FishersNCHypInversion (int32_t n, int32_t m, int32_t N, double odds); // FishersNCHyp by i…
447 …CWalleniusNCHypergeometric(int32_t n, int32_t m, int32_t N, double odds, double accuracy=1.E-8); /…
448 void SetParameters(int32_t n, int32_t m, int32_t N, double odds); // change parameters
493 void SetParameters(int32_t n, int32_t * m, double * odds, int colors); // change parameters
534 …CMultiWalleniusNCHypergeometricMoments(int32_t n, int32_t * m, double * odds, int colors, double a…
535 : CMultiWalleniusNCHypergeometric(n, m, odds, colors, accuracy) {}; in CMultiWalleniusNCHypergeometric() argument
559 …CFishersNCHypergeometric(int32_t n, int32_t m, int32_t N, double odds, double accuracy = 1E-8); //…
572 double odds; // odds ratio variable
[all …]
/dports/math/R-cran-gss/gss/man/
H A Dpredict.ssllrm.Rd10 \method{predict}{ssllrm}(object, x, y=object$qd.pt, odds=NULL, se.odds=FALSE, ...)
16 \item{odds}{Optional coefficients of contrast.}
17 \item{se.odds}{Flag indicating if standard errors are required.
18 Ignored when \code{odds=NULL}.}
22 For \code{odds=NULL}, \code{predict.ssanova} returns a vector/matrix
25 When \code{odds} is given, it should match \code{y} in length and
27 returns a vector of estimated "odds ratios" if \code{se.odds=FALSE}
29 \code{se.odds=TRUE}.
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/align/util/
H A Dbest_placement.cpp97 struct odds struct
196 const odds matchrun_odds( in GetScore()
358 return odds(ungapped_len * identity, in s_GetIdentOdds_protSS()
368 odds res; in s_GetIdentOdds_nucSS()
385 odds res; in s_GetIdentOdds_disc()
411 return odds(num_ident, in GetIdentOdds()
418 return odds(num_ident, in GetIdentOdds()
431 return odds(num_ident, in GetIdentOdds()
440 return odds(num_ident, in GetIdentOdds()
458 odds res; in GetSplicesOdds()
[all …]
/dports/math/R-cran-gss/gss/R/
H A Dfamily.R19 odds <- exp(eta) functionVar
20 p <- odds/(1+odds)
22 w <- p/(1+odds)
38 as.vector(2*wt*(y*log(ifelse(y==0,1,y*(1+odds)/odds))
52 odds <- p/(1-p) functionVar
57 p <- odds/(1+odds)
65 sum(2*wt*(y*log(ifelse(y==0,1,y*(1+odds)/odds))
216 p <- odds/(1+odds)
228 p <- odds/(1+odds)
250 p <- odds/(1+odds)
[all …]
H A Dpredict.ssllrm.R2 predict.ssllrm <- function (object,x,y=object$qd.pt,odds=NULL,se.odds=FALSE,...) argument
29 if (!is.null(odds)) {
30 if (length(y.id)-length(odds))
32 if (!max(odds)|sum(odds))
124 if (is.null(odds)) {
137 for (i in 1:length(odds)) {
138 r.wk <- r.wk + odds[i]*r[i,,]
139 if (nnull) s.wk <- s.wk + odds[i]*s[i,,]
140 if (nZ) z.wk <- z.wk + odds[i]*z[i,,]
141 w.wk <- w.wk + odds[i]*log(qd.wt[y.id[i]])
/dports/audio/fdmf/fdmf-0.0.9s/
H A Dchunk_metrics.c11 double energy, ratio, twist, lows, highs, evens, odds; in chunk_metrics() local
15 odds = be[1] + be[3]; in chunk_metrics()
19 odds = fabs(odds) < 0.001 ? 0.001 : odds; in chunk_metrics()
23 twist = evens / odds; in chunk_metrics()
/dports/math/fricas/fricas-1.3.7/pre-generated/target/share/hypertex/pages/
H A DSTREAM.pht82 \tab{5}\spadcommand{odds := [2*i+1 for i in ints]\bound{odds }\free{ints }}
92 \tab{5}\spadcommand{odds := [2*i+1 for i in ints]\bound{odds }\free{ints }}
98 \tab{5}\spadcommand{scan(0,+,odds)\free{odds }}
108 \tab{5}\spadcommand{scan(0,+,odds)\free{odds }}
114 \tab{5}\spadcommand{[i*j for i in ints for j in odds]\free{ints }\free{odds }}
124 \tab{5}\spadcommand{[i*j for i in ints for j in odds]\free{ints }\free{odds }}
130 \tab{5}\spadcommand{map(*,ints,odds)\free{ints odds }}
140 \tab{5}\spadcommand{map(*,ints,odds)\free{ints odds }}
/dports/print/a2ps/a2ps-4.13/contrib/
H A Dpsmandup.in224 odds="_"
228 odds=$pagenum
236 odds="$odds,$i"
242 test -n "$odds" && test -n "$evens" && separator=,
245 $psselect -q $evens$separator$odds $file > $tmpdir/ordered.ps
/dports/science/R-cran-epicalc/epicalc/man/
H A Dmhor.rd3 \title{Mantel-Haenszel odds ratio}
4 \description{Mantel-Haenszel odds ratio calculation and graphing from a stratified case-control stu…
12 \item{graph}{If TRUE (default), produces an odds ratio plot}
16odds ratios and 95 percent confidence intervals and the Mantel-Haenszel odds ratio and chi-squared…
/dports/devel/boost-docs/boost_1_72_0/libs/compute/test/
H A Dtest_gather.cpp57 compute::vector<int> odds(5, context); in BOOST_AUTO_TEST_CASE() local
59 input.begin(), input.end(), odds.begin(), is_odd, queue in BOOST_AUTO_TEST_CASE()
61 CHECK_RANGE_EQUAL(int, 5, odds, (0, 2, 4, 5, 7)); in BOOST_AUTO_TEST_CASE()
66 odds.begin(), odds.end(), input.begin(), odd_values.begin(), queue in BOOST_AUTO_TEST_CASE()

12345678910>>...101