Home | History | Annotate | Download | only in test

Lines Matching full:norm

19 float norm(float x) {return x*x;}
20 double norm(double x) {return x*x;}
21 long double norm(long double x) {return x*x;}
43 totalpower += norm(acc);
46 difpower += norm(dif);
47 //cerr << k0 << "\t" << acc << "\t" << x << "\t" << sqrt(norm(dif)) << endl;
60 totalpower += (norm( buf1[k] ) + norm(buf2[k]) )/2.;
61 difpower += norm(buf1[k] - buf2[k]);
208 VERIFY( (src-src2).norm() < test_precision<T>() );
209 VERIFY( (dst-dst2).norm() < test_precision<T>() );
226 VERIFY( (out1-out2).norm() < test_precision<float>() );
228 VERIFY( (in1-in).norm() < test_precision<float>() );