36 #ifndef VIGRA_INVARIANT_FEATURES3D_HXX
37 #define VIGRA_INVARIANT_FEATURES3D_HXX
43 #include "mathutil.hxx"
44 #include "array_vector.hxx"
46 #include "tinyvector.hxx"
47 #include "quaternion.hxx"
54 inline double realSH(
double l,
double m)
56 return std::sqrt((2.0*l + 1.0) / (4.0*M_PI*facLM(l,m)));
60 template<
int N,
class T,
class C>
61 TinyVector<float, N> centerOfBB(MultiArrayView<N, T, C>
const & A)
63 return TinyVector<float, N>(A.shape()) /= 2.0;
71 #endif // VIGRA_INVARIANT_FEATURES3D_HXX
SquareRootTraits< FixedPoint< IntBits, FracBits > >::SquareRootResult sqrt(FixedPoint< IntBits, FracBits > v)
square root.
Definition: fixedpoint.hxx:616