 |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
58 template<
typename dtype>
70 [inRtol, inAtol](dtype inValueA, dtype inValueB) noexcept ->
bool
72 return std::abs(inValueA - inValueB) <= (inAtol + inRtol * std::abs(inValueB));
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4356
constexpr double e
eulers number
Definition: Constants.hpp:41
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition: StlAlgorithms.hpp:702
#define STATIC_ASSERT_FLOAT(dtype)
Definition: StaticAsserts.hpp:43
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1487
Definition: Coordinate.hpp:44
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:36
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1143
iterator begin() noexcept
Definition: NdArrayCore.hpp:1087
NdArray< bool > isclose(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2, double inRtol=1e-05, double inAtol=1e-08)
Definition: isclose.hpp:59