9 m_SphericalHarmonics.clear();
11 for (
int k = 0;k <= (int)m_LOrder;k += 2)
12 for (
int m = -k;m <= k;++m)
15 m_SphericalHarmonics.push_back(tmpSH);
21 std::complex <double> tmpVal = m_SphericalHarmonics[k*(k+1)/2 + m].Value(theta,phi);
26 resVal = sqrt(2.0)*imag(tmpVal);
28 resVal = sqrt(2.0)*real(tmpVal);
30 resVal = real(tmpVal);
ODFSphericalHarmonicBasis(unsigned int L)
double getNthSHValueAtPosition(int k, int m, double theta, double phi)