Home
last modified time | relevance | path

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

/external/eigen/unsupported/doc/examples/
DFFT.cpp23 T mag2(T a) in mag2() function
28 T mag2(std::complex<T> a) in mag2() function
34 T mag2(const std::vector<T> & vec) in mag2() function
38 out += mag2(vec[k]); in mag2()
43 T mag2(const std::vector<std::complex<T> > & vec) in mag2() function
47 out += mag2(vec[k]); in mag2()
88 long double rmse = mag2(timebuf - timebuf2) / mag2(timebuf); in fwd_inv()
/external/skia/src/core/
DSkPoint.cpp104 float mag2 = dx * dx + dy * dy; in CanNormalize() local
105 return mag2 > SK_ScalarNearlyZero * SK_ScalarNearlyZero; in CanNormalize()
113 float mag2 = x * x + y * y; in setLength() local
114 if (mag2 > SK_ScalarNearlyZero * SK_ScalarNearlyZero) { in setLength()
115 float scale = length / sk_float_sqrt(mag2); in setLength()
/external/webkit/Source/WebCore/platform/audio/
DFFTFrame.cpp105 double mag2 = abs(c2); in interpolateFrequencyComponents() local
109 double mag2db = 20.0 * log10(mag2); in interpolateFrequencyComponents()