Home
last modified time | relevance | path

Searched refs:mag2 (Results 1 – 5 of 5) 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/skqp/src/core/
DSkPoint.cpp81 float mag2; in set_point_length() local
82 if (is_length_nearly_zero(x, y, &mag2)) { in set_point_length()
87 if (sk_float_isfinite(mag2)) { in set_point_length()
90 scale = length * sk_float_rsqrt(mag2); in set_point_length()
92 mag = sk_float_sqrt(mag2); in set_point_length()
132 float mag2 = dx * dx + dy * dy; in Length() local
133 if (SkScalarIsFinite(mag2)) { in Length()
134 return sk_float_sqrt(mag2); in Length()
DSkFontPriv.cpp12 static SkScalar mag2(SkScalar x, SkScalar y) { in mag2() function
17 return mag2(m[SkMatrix::kMScaleX], m[SkMatrix::kMSkewY]) > ma2max in tooBig()
19 mag2(m[SkMatrix::kMSkewX], m[SkMatrix::kMScaleY]) > ma2max; in tooBig()
/external/skia/src/core/
DSkFontPriv.cpp12 static SkScalar mag2(SkScalar x, SkScalar y) { in mag2() function
17 return mag2(m[SkMatrix::kMScaleX], m[SkMatrix::kMSkewY]) > ma2max in tooBig()
19 mag2(m[SkMatrix::kMSkewX], m[SkMatrix::kMScaleY]) > ma2max; in tooBig()
DSkPoint.cpp76 float mag2 = dx * dx + dy * dy; in Length() local
77 if (SkScalarIsFinite(mag2)) { in Length()
78 return sk_float_sqrt(mag2); in Length()