39 template<
typename dtype>
49 static constexpr int bits() noexcept
53 return std::numeric_limits<dtype>::digits;
66 return std::numeric_limits<dtype>::epsilon();
78 return std::numeric_limits<dtype>::is_integer;
90 return std::numeric_limits<dtype>::is_signed;
98 static constexpr dtype
min() noexcept
110 static constexpr dtype
max() noexcept
120 template<
typename dtype>
130 static constexpr int bits() noexcept
134 return std::numeric_limits<dtype>::digits;
143 static constexpr std::complex<dtype>
epsilon() noexcept
159 return std::numeric_limits<dtype>::is_integer;
171 return std::numeric_limits<dtype>::is_signed;
179 static constexpr std::complex<dtype>
min() noexcept
191 static constexpr std::complex<dtype>
max() noexcept
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition: StaticAsserts.hpp:39
static constexpr std::complex< dtype > max() noexcept
Definition: DtypeInfo.hpp:191
static constexpr std::complex< dtype > min() noexcept
Definition: DtypeInfo.hpp:179
static constexpr bool isInteger() noexcept
Definition: DtypeInfo.hpp:155
static constexpr std::complex< dtype > epsilon() noexcept
Definition: DtypeInfo.hpp:143
static constexpr bool isSigned() noexcept
Definition: DtypeInfo.hpp:167
static constexpr int bits() noexcept
Definition: DtypeInfo.hpp:130
Holds info about the dtype.
Definition: DtypeInfo.hpp:41
static constexpr bool isSigned() noexcept
Definition: DtypeInfo.hpp:86
static constexpr bool isInteger() noexcept
Definition: DtypeInfo.hpp:74
static constexpr dtype max() noexcept
Definition: DtypeInfo.hpp:110
static constexpr int bits() noexcept
Definition: DtypeInfo.hpp:49
static constexpr dtype epsilon() noexcept
Definition: DtypeInfo.hpp:62
static constexpr dtype min() noexcept
Definition: DtypeInfo.hpp:98
Definition: Cartesian.hpp:40
NdArray< dtype > min(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: min.hpp:44
auto complex(dtype inReal)
Definition: complex.hpp:47
NdArray< dtype > max(const NdArray< dtype > &inArray, Axis inAxis=Axis::NONE)
Definition: max.hpp:44