Home
last modified time | relevance | path

Searched refs:f_exp (Results 1 – 3 of 3) sorted by relevance

/external/valgrind/tests/
Dvg_regtest412 for my $f_exp (@$f_exps) {
413 (-r $f_exp) or die "Could not read `$f_exp'\n";
417 if ($f_exp !~ /[~#]$/) {
421 if ($f_exp =~ /.*\.exp(.*)$/) {
425 ($f_exp eq "/dev/null") or die "Unexpected .exp file: $f_exp\n";
428 mysystem("diff -u $f_exp $name.$mid.out > $name.$mid.diff$n");
Dvg_regtest.in412 for my $f_exp (@$f_exps) {
413 (-r $f_exp) or die "Could not read `$f_exp'\n";
417 if ($f_exp !~ /[~#]$/) {
421 if ($f_exp =~ /.*\.exp(.*)$/) {
425 ($f_exp eq "/dev/null") or die "Unexpected .exp file: $f_exp\n";
428 mysystem("@DIFF@ $f_exp $name.$mid.out > $name.$mid.diff$n");
/external/toolchain-utils/cros_utils/
Dstats.py1109 def lchisquare(f_obs, f_exp=None): argument
1119 if f_exp == None:
1120 f_exp = [sum(f_obs) / float(k)] * len(f_obs) # create k bins with = freq.
1123 chisq = chisq + (f_obs[i] - f_exp[i])**2 / float(f_exp[i])
3500 def achisquare(f_obs, f_exp=None): argument
3512 if f_exp == None:
3513 f_exp = N.array([sum(f_obs) / float(k)] * len(f_obs), N.float_)
3514 f_exp = f_exp.astype(N.float_)
3515 chisq = N.add.reduce((f_obs - f_exp)**2 / f_exp)