![]() |
NumCpp
2.9.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Functions | |
| template<typename dtype > | |
| constexpr dtype | cube (dtype inValue) noexcept |
| template<typename dtype , enable_if_t< std::is_integral< dtype >::value, int > = 0> | |
| bool | essentiallyEqual (const std::complex< dtype > &inValue1, const std::complex< dtype > &inValue2) noexcept |
| template<typename dtype , enable_if_t< std::is_floating_point< dtype >::value, int > = 0> | |
| bool | essentiallyEqual (const std::complex< dtype > &inValue1, const std::complex< dtype > &inValue2, const std::complex< dtype > &inEpsilon) noexcept |
| template<typename dtype , enable_if_t< std::is_integral< dtype >::value, int > = 0> | |
| bool | essentiallyEqual (dtype inValue1, dtype inValue2) noexcept |
| template<typename dtype , enable_if_t< std::is_floating_point< dtype >::value, int > = 0> | |
| bool | essentiallyEqual (dtype inValue1, dtype inValue2, dtype inEpsilon) noexcept |
| double | gaussian (double inX, double inY, double inSigma) noexcept |
| double | gaussian1d (double inX, double inMu, double inSigma) noexcept |
| constexpr double | interp (double inValue1, double inValue2, double inPercent) noexcept |
| template<typename dtype > | |
| std::string | num2str (dtype inNumber) |
| template<typename dtype > | |
| dtype | power (dtype inValue, uint8 inPower) noexcept |
| template<typename dtype1 , typename dtype2 > | |
| auto | powerf (dtype1 inValue, const dtype2 inPower) noexcept |
| template<typename dtype > | |
| constexpr dtype | sqr (dtype inValue) noexcept |
| template<typename dtype > | |
| std::string | value2str (dtype inValue) |
|
constexprnoexcept |
Cubes in input value
| inValue |
|
noexcept |
tests that 2 complex values are "essentially equal"
| inValue1 | |
| inValue2 |
tests that 2 floating point values are "essentially equal"
| inValue1 | |
| inValue2 |
|
noexcept |
tests that 2 complex values are "essentially equal"
| inValue1 | |
| inValue2 | |
| inEpsilon |
|
noexcept |
tests that 2 integer values are "essentially equal"
| inValue1 | |
| inValue2 |
tests that 2 floating point values are "essentially equal"
| inValue1 | |
| inValue2 |
|
noexcept |
tests that 2 floating point values are "essentially equal"
| inValue1 | |
| inValue2 | |
| inEpsilon |
|
inlinenoexcept |
samples a 2D gaussian of mean zero and input STD sigma
| inX | |
| inY | |
| inSigma |
|
inlinenoexcept |
samples a 1D gaussian of input mean and sigma
| inX | |
| inMu | |
| inSigma |
|
constexprnoexcept |
Returns the linear interpolation between two points
| inValue1 | |
| inValue2 | |
| inPercent |
| std::string nc::utils::num2str | ( | dtype | inNumber | ) |
Converts the number into a string
| inNumber |
|
noexcept |
Raises the input value to an integer power
| inValue | |
| inPower |
|
noexcept |
Raises the input value to a floating point power
| inValue | |
| inPower |
|
constexprnoexcept |
Squares in input value
| inValue |
| std::string nc::utils::value2str | ( | dtype | inValue | ) |
Converts the value into a string
| inValue |