![]() |
NumCpp
2.14.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
The first linearly independent solution to the differential equation y'' - yz = 0. http://mathworld.wolfram.com/AiryFunctions.html NOTE: Use of this function requires using the Boost includes.
inArray |
The first linearly independent solution to the differential equation y'' - yz = 0. http://mathworld.wolfram.com/AiryFunctions.html NOTE: Use of this function requires using the Boost includes.
inValue |
The derivative of the first linearly independent solution to the differential equation y'' - yz = 0. http://mathworld.wolfram.com/AiryFunctions.html NOTE: Use of this function requires using the Boost includes.
inArray |
The derivative of the first linearly independent solution to the differential equation y'' - yz = 0. http://mathworld.wolfram.com/AiryFunctions.html NOTE: Use of this function requires using the Boost includes.
inValue |
The second linearly independent solution to the differential equation y'' - yz = 0. http://mathworld.wolfram.com/AiryFunctions.html NOTE: Use of this function requires using the Boost includes.
inArray |
The second linearly independent solution to the differential equation y'' - yz = 0. http://mathworld.wolfram.com/AiryFunctions.html NOTE: Use of this function requires using the Boost includes.
inValue |
The derivative of the second linearly independent solution to the differential equation y'' - yz = 0. http://mathworld.wolfram.com/AiryFunctions.html NOTE: Use of this function requires using the Boost includes.
inArray |
The derivative of the second linearly independent solution to the differential equation y'' - yz = 0. http://mathworld.wolfram.com/AiryFunctions.html NOTE: Use of this function requires using the Boost includes.
inValue |
Both return the nth Bernoulli number B2n. NOTE: Use of this function requires using the Boost includes.
inArray |
Both return the nth Bernoulli number B2n. NOTE: Use of this function requires using the Boost includes.
n |
Modified Cylindrical Bessel function of the first kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inArrayX | the input values |
Modified Cylindrical Bessel function of the first kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inX | the input value |
Derivcative of the Modified Cylindrical Bessel function of the first kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inArrayX | the input values |
Derivcative of the Modified Cylindrical Bessel function of the first kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inX | the input value |
Cylindrical Bessel function of the first kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inArrayX | the input values |
Cylindrical Bessel function of the first kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inX | the input value |
Derivcative of the Cylindrical Bessel function of the first kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inArrayX | the input values |
Derivcative of the Cylindrical Bessel function of the first kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inX | the input value |
Modified Cylindrical Bessel function of the second kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inArrayX | the input values |
Modified Cylindrical Bessel function of the second kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inX | the input value |
Derivcative of the Modified Cylindrical Bessel function of the second kind NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inArrayX | the input values |
Derivcative of the Modified Cylindrical Bessel function of the second kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inX | the input value |
Cylindrical Bessel function of the second kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inArrayX | the input values |
Cylindrical Bessel function of the second kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inX | the input value |
Derivcative of the Cylindrical Bessel function of the second kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inArrayX | the input values |
Derivcative of the Cylindrical Bessel function of the second kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inX | the input value |
The beta function. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inArrayA | |
inArrayB |
The beta function. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
a | |
b |
Returns the number of combinations of n choose r. C(n, r)
n | the total number of items |
r | the number of items taken |
Computes the complete elliptic integral of the first kind of k. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inArrayK | elliptic modulus or eccentricity |
Computes the complete elliptic integral of the first kind of k. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inK | elliptic modulus or eccentricity |
Computes the complete elliptic integral of the second kind of k. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inArrayK | elliptic modulus or eccentricity |
Computes the complete elliptic integral of the second kind of k. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inK | elliptic modulus or eccentricity |
auto nc::special::comp_ellint_3 | ( | const NdArray< dtype1 > & | inArrayK, |
const NdArray< dtype2 > & | inArrayV | ||
) |
Computes the complete elliptic integral of the third kind of k and p. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inArrayK | the order of the bessel function |
inArrayV | elliptic characteristic |
Computes the complete elliptic integral of the third kind of k and v. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inK | elliptic modulus or eccentricity |
inV | elliptic characteristic |
Hankel funcion of the first kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inX | the input array |
Hankel funcion of the first kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inX | the input value |
Hankel funcion of the second kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inX | the input array |
Hankel funcion of the second kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inX | the input value |
Returns the digamma or psi function of values in inArray. Digamma is defined as the logarithmic derivative of the gamma function. NOTE: Use of this function requires using the Boost includes.
inArray |
Returns the digamma or psi function of inValue. Digamma is defined as the logarithmic derivative of the gamma function. NOTE: Use of this function requires using the Boost includes.
inValue |
auto nc::special::ellint_1 | ( | const NdArray< dtype1 > & | inArrayK, |
const NdArray< dtype2 > & | inArrayP | ||
) |
Computes the incomplete elliptic integral of the first kind of k and p. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inArrayK | elliptic modulus or eccentricity |
inArrayP | Jacobi amplitude (measured in radians) |
Computes the incomplete elliptic integral of the first kind of k and p. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inK | elliptic modulus or eccentricity |
inP | Jacobi amplitude (measured in radians) |
auto nc::special::ellint_2 | ( | const NdArray< dtype1 > & | inArrayK, |
const NdArray< dtype2 > & | inArrayP | ||
) |
Computes the incomplete elliptic integral of the second kind of k and p. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inArrayK | elliptic modulus or eccentricity |
inArrayP | Jacobi amplitude (measured in radians) |
Computes the incomplete elliptic integral of the second kind of k and p. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inK | elliptic modulus or eccentricity |
inP | Jacobi amplitude (measured in radians) |
auto nc::special::ellint_3 | ( | const NdArray< dtype1 > & | inArrayK, |
const NdArray< dtype2 > & | inArrayV, | ||
const NdArray< dtype3 > & | inArrayP | ||
) |
Computes the incomplete elliptic integral of the second kind of k, v, and p. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inArrayK | the order of the bessel function |
inArrayV | elliptic characteristic |
inArrayP | Jacobi amplitude (measured in radians) |
Computes the incomplete elliptic integral of the second kind of k, v, and p. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inK | elliptic modulus or eccentricity |
inV | elliptic characteristic |
inP | Jacobi amplitude (measured in radians) |
Calculate the error function of all elements in the input array. Integral (from [-x, x]) of np.exp(np.power(-t, 2)) dt, multiplied by 1/np.pi. NOTE: Use of this function requires using the Boost includes.
inArray |
Calculate the error function of all elements in the input array. Integral (from [-x, x]) of np.exp(np.power(-t, 2)) dt, multiplied by 1/np.pi. NOTE: Use of this function requires using the Boost includes.
inValue |
Returns the inverse error function of z, that is a value x such that: z = erf(x). NOTE: Use of this function requires using the Boost includes.
inArray |
Returns the inverse error function of z, that is a value x such that: z = erf(x). NOTE: Use of this function requires using the Boost includes.
inValue |
Returns the element-wise complement of the error function of inValue. NOTE: Use of this function requires using the Boost includes.
inArray |
Returns the complement of the error function of inValue. NOTE: Use of this function requires using the Boost includes.
inValue |
Returns the inverse complementary error function of z, that is a value x such that: z = erfc(x). NOTE: Use of this function requires using the Boost includes.
inArray |
Returns the inverse complentary error function of z, that is a value x such that: z = erfc(x). NOTE: Use of this function requires using the Boost includes.
inValue |
Exponential integral Ei. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inArrayX | value |
Exponential integral Ei. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inX | value |
Returns the factorial of the input value
inValue |
Returns the "true gamma" of values in array. NOTE: Use of this function requires using the Boost includes.
inArray |
Returns the "true gamma" of value z. NOTE: Use of this function requires using the Boost includes.
inValue |
Returns the true gamma(dz + 1) - 1 of values in array. NOTE: Use of this function requires using the Boost includes.
inArray |
Returns the true gamma(dz + 1) - 1 of value z. NOTE: Use of this function requires using the Boost includes.
inValue |
Returns natural log of the true gamma of values in array. NOTE: Use of this function requires using the Boost includes.
inArray |
Returns natural log of the true gamma of value z. NOTE: Use of this function requires using the Boost includes.
inValue |
Returns the number of permutaions of n choose r. P(n, r)
n | the total number of items |
r | the number of items taken |
Returns the polygamma function of the values in inArray. Polygamma is defined as the n'th derivative of the digamma function. NOTE: Use of this function requires using the Boost includes.
n | the nth derivative |
inArray |
Returns the polygamma function of inValue. Polygamma is defined as the n'th derivative of the digamma function. NOTE: Use of this function requires using the Boost includes.
n | the nth derivative |
inValue |
The function prime provides fast table lookup to the first 10000 prime numbers (starting from 2 as the zeroth prime: as 1 isn't terribly useful in practice). NOTE: Use of this function requires using the Boost includes.
inArray |
The function prime provides fast table lookup to the first 10000 prime numbers (starting from 2 as the zeroth prime: as 1 isn't terribly useful in practice). NOTE: Use of this function requires using the Boost includes.
n | the nth prime number to return |
The Riemann Zeta function https://en.wikipedia.org/wiki/Riemann_zeta_function NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inArray |
The Riemann Zeta function https://en.wikipedia.org/wiki/Riemann_zeta_function NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inValue |
NdArray< double > nc::special::softmax | ( | const NdArray< dtype > & | inArray, |
Axis | inAxis = Axis::NONE |
||
) |
The softmax function transforms each element of a collection by computing the exponential of each element divided by the sum of the exponentials of all the elements. That is, if x is a one-dimensional numpy array: softmax(x) = np.exp(x)/sum(np.exp(x))
inArray | |
inAxis | (Optional, default NONE) |
Spherical Bessel function of the first kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inArrayX | the input values |
Spherical Bessel function of the first kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inX | the input value |
Spherical Bessel function of the second kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inArrayX | the input values |
Spherical Bessel function of the second kind. NOTE: Use of this function requires either using the Boost includes or a C++17 compliant compiler.
inV | the order of the bessel function |
inX | the input value |
Spherical Hankel funcion of the first kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inArray | the input values |
Spherical Hankel funcion of the first kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inX | the input value |
Spherical Hankel funcion of the second kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inArray | the input value |
Spherical Hankel funcion of the second kind. NOTE: Use of this function requires using the Boost includes.
inV | the order of the bessel function |
inX | the input value |
Returns the trigamma function of x. Trigamma is defined as the derivative of the digamma function. NOTE: Use of this function requires using the Boost includes.
inArray |