Home
last modified time | relevance | path

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

/frameworks/av/media/libheadtracking/
DQuaternionUtil.cpp40 const float squared_norm_of_v = v.squaredNorm(); in LogSU2() local
42 assert(abs(1.f - abs_w * abs_w - squared_norm_of_v) < NumTraits<float>::dummy_precision()); in LogSU2()
44 if (squared_norm_of_v > NumTraits<float>::dummy_precision()) { in LogSU2()
45 const float norm_of_v = sqrt(squared_norm_of_v); in LogSU2()
57 return (1.f / abs_w - squared_norm_of_v / (3.f * pow(abs_w, 3))) * v; in LogSU2()