Searched defs:variance (Results 1 - 3 of 3) sorted by relevance

/openjdk7/hotspot/src/share/vm/utilities/
H A DnumberSeq.cpp40 // and the variance is 0
57 double AbsSeq::variance() const { function in class:AbsSeq
64 // due to loss-of-precision errors, the variance might be negative
68 // "if variance is negative, it should be very small");
75 double var = variance();
76 guarantee( var >= 0.0, "variance should not be negative" );
90 // due to loss-of-precision errors, the variance might be negative
94 "if variance is negative, it should be very small");
102 guarantee( var >= 0.0, "variance should not be negative" );
166 guarantee( variance() >
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/
H A Dg1CollectorPolicy.hpp938 // "sum_of_squares" of the measurements, this returns the variance of the
940 inline double variance(int n, double sum_of_squares, double sum) { function
/openjdk7/hotspot/src/share/vm/runtime/
H A Dos.cpp1022 double mean = 0.0, variance = 0.0, t; local
1034 // calculate mean and variance of the random sequence
1036 variance += (u*u);
1039 variance /= (reps - 1);
1043 tty->print_cr("variance of the 1st 10000 numbers: %f", variance);
1047 t = (variance - 0.3355) < 0.0 ? -(variance - 0.3355) : variance - 0.3355;
1048 assert(t < eps, "bad variance");
[all...]

Completed in 36 milliseconds