Deleted Added
sdiff udiff text old ( 2665:a124942bacb8 ) new ( 2716:b9114064d77a )
full compact
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 36 unchanged lines hidden (view full) ---

45using namespace Stats;
46
47Tick curTick = 0;
48Tick ticksPerSecond = ULL(2000000000);
49
50Scalar<> s1;
51Scalar<> s2;
52Average<> s3;
53Scalar<> s4;
54Vector<> s5;
55Distribution<> s6;
56Vector<> s7;
57AverageVector<> s8;
58StandardDeviation<> s9;
59AverageDeviation<> s10;
60Scalar<> s11;
61Distribution<> s12;
62VectorDistribution<> s13;
63VectorStandardDeviation<> s14;
64VectorAverageDeviation<> s15;
65Vector2d<> s16;
66
67Formula f1;
68Formula f2;
69Formula f3;
70Value f4;
71Value f5;
72Formula f6;
73Formula f7;
74
75ostream *outputStream = &cout;
76
77double
78testfunc()
79{
80 return 9.8;
81}
82

--- 212 unchanged lines hidden (view full) ---

295 f3 = sum(s5) * s7;
296 f6 += constant(10.0);
297 f6 += s5[3];
298 f7 = constant(1);
299
300 check();
301 reset();
302
303 s16[1][0] = 1;
304 s16[0][1] = 3;
305 s16[0][0] = 2;
306 s16[1][1] = 9;
307 s16[1][1] += 9;
308 s16[1][8] += 8;
309 s16[1][7] += 7;
310 s16[1][6] += 6;

--- 174 unchanged lines hidden (view full) ---

485 s6.sample(3);
486 s6.sample(4);
487 s6.sample(5);
488 s6.sample(6);
489 s6.sample(7);
490 s6.sample(8);
491 s6.sample(9);
492
493 s6.sample(10);
494 s6.sample(10);
495 s6.sample(10);
496 s6.sample(10);
497 s6.sample(10);
498 s6.sample(10);
499 s6.sample(10);
500 s6.sample(10);

--- 56 unchanged lines hidden ---