![]() |
NumCpp
2.14.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Data Structures | |
class | Poly1d |
Chebyshev Polynomial of the first kind. NOTE: Use of this function requires using the Boost includes.
n | the order of the chebyshev polynomial |
inArrayX | the input value |
Chebyshev Polynomial of the first kind. NOTE: Use of this function requires using the Boost includes.
n | the order of the chebyshev polynomial |
x | the input value |
Chebyshev Polynomial of the second kind. NOTE: Use of this function requires using the Boost includes.
n | the order of the chebyshev polynomial |
inArrayX | the input value |
Chebyshev Polynomial of the second kind. NOTE: Use of this function requires using the Boost includes.
n | the order of the chebyshev polynomial |
x | the input value |
Hermite Polynomial. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
n | the order of the hermite polynomial |
inArrayX | the input value |
Hermite Polynomial NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
n | the order of the hermite polynomial |
x | the input value |
Laguerre Polynomial. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
n | the order of the leguerre polynomial |
inArrayX | the input value |
Laguerre Polynomial. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
n | the order of the leguerre polynomial |
x | the input value |
NdArray< double > nc::polynomial::laguerre | ( | uint32 | n, |
uint32 | m, | ||
const NdArray< dtype > & | inArrayX | ||
) |
Associated Laguerre Polynomial. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
n | the order of the leguerre polynomial |
m | the degree of the legendre polynomial |
inArrayX | the input value |
Associated Laguerre Polynomial. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
n | the order of the leguerre polynomial |
m | the degree of the legendre polynomial |
x | the input value |
NdArray< double > nc::polynomial::legendre_p | ( | uint32 | m, |
uint32 | n, | ||
const NdArray< dtype > & | inArrayX | ||
) |
Associated Legendre Polynomial of the first kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
m | the order of the legendre polynomial |
n | the degree of the legendre polynomial |
inArrayX | the input value. Requires -1 <= x <= 1 |
Associated Legendre Polynomial of the first kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
m | the order of the legendre polynomial |
n | the degree of the legendre polynomial |
x | the input value. Requires -1 <= x <= 1 |
Legendre Polynomial of the first kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
n | the degree of the legendre polynomial |
inArrayX | the input value. Requires -1 <= x <= 1 |
Legendre Polynomial of the first kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
n | the degree of the legendre polynomial |
x | the input value. Requires -1 <= x <= 1 |
Legendre Polynomial of the second kind. NOTE: Use of this function requires using the Boost includes.
n | the order of the legendre polynomial |
inArrayX | the input value. Requires -1 <= x <= 1 |
Legendre Polynomial of the second kind. NOTE: Use of this function requires using the Boost includes.
n | the order of the legendre polynomial |
x | the input value. Requires -1 <= x <= 1 |
std::complex< double > nc::polynomial::spherical_harmonic | ( | uint32 | n, |
int32 | m, | ||
dtype1 | theta, | ||
dtype2 | phi | ||
) |
Returns the value of the Spherical Harmonic Ynm(theta, phi). The spherical harmonics Ynm(theta, phi) are the angular portion of the solution to Laplace's equation in spherical coordinates where azimuthal symmetry is not present. NOTE: Use of this function requires using the Boost includes.
n | order of the harmonic |
m | degree of the harmonic |
theta | Azimuthal (longitudinal) coordinate; must be in [0, 2*pi]. |
phi | Polar (colatitudinal) coordinate; must be in [0, pi]. |
Returns the imaginary part of the Spherical Harmonic Ynm(theta, phi). The spherical harmonics Ynm(theta, phi) are the angular portion of the solution to Laplace's equation in spherical coordinates where azimuthal symmetry is not present. NOTE: Use of this function requires using the Boost includes.
n | order of the harmonic |
m | degree of the harmonic |
theta | Azimuthal (longitudinal) coordinate; must be in [0, 2*pi]. |
phi | Polar (colatitudinal) coordinate; must be in [0, pi]. |
Returns the real part of the Spherical Harmonic Ynm(theta, phi). The spherical harmonics Ynm(theta, phi) are the angular portion of the solution to Laplace's equation in spherical coordinates where azimuthal symmetry is not present. NOTE: Use of this function requires using the Boost includes.
n | order of the harmonic |
m | degree of the harmonic |
theta | Azimuthal (longitudinal) coordinate; must be in [0, 2*pi]. |
phi | Polar (colatitudinal) coordinate; must be in [0, pi]. |