30#ifndef NUMCPP_NO_USE_BOOST
34#include "boost/math/special_functions/spherical_harmonic.hpp"
55 template<
typename dtype1,
typename dtype2>
61 return boost::math::spherical_harmonic(
m,
n,
static_cast<double>(phi),
static_cast<double>(theta));
78 template<
typename dtype1,
typename dtype2>
84 return boost::math::spherical_harmonic_r(
m,
n,
static_cast<double>(phi),
static_cast<double>(theta));
101 template<
typename dtype1,
typename dtype2>
107 return boost::math::spherical_harmonic_i(
m,
n,
static_cast<double>(phi),
static_cast<double>(theta));
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition StaticAsserts.hpp:39
Definition chebyshev_t.hpp:39
double spherical_harmonic_i(uint32 n, int32 m, dtype1 theta, dtype2 phi)
Definition spherical_harmonic.hpp:102
double spherical_harmonic_r(uint32 n, int32 m, dtype1 theta, dtype2 phi)
Definition spherical_harmonic.hpp:79
std::complex< double > spherical_harmonic(uint32 n, int32 m, dtype1 theta, dtype2 phi)
Definition spherical_harmonic.hpp:56
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition arange.hpp:59
std::int32_t int32
Definition Types.hpp:36
std::uint32_t uint32
Definition Types.hpp:40