45 template<
typename dtype>
49 return input.
round(inDecimals).item();
62 template<
typename dtype>
65 return inArray.
round(inDecimals);
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:72
NdArray< dtype > round(uint8 inNumDecimals=0) const
Definition: NdArrayCore.hpp:4445
Definition: Coordinate.hpp:45
std::uint8_t uint8
Definition: Types.hpp:42
dtype round(dtype inValue, uint8 inDecimals=0)
Definition: round.hpp:46