39 template<
typename...
Ts>
46 template<
typename Head,
typename...
Tail>
59 static constexpr bool value = std::is_arithmetic<T>::value;
66 template<
typename...
Ts>
73 template<
typename T1,
typename...
Ts>
80 template<
typename T1,
typename Head,
typename...
Tail>
83 static constexpr bool value = std::is_same<T1, Head>::value &&
all_same<
T1,
Tail...>::value;
90 template<
typename T1,
typename T2>
93 static constexpr bool value = std::is_same<T1, T2>::value;
100 template<
typename...
Ts>
107 template<
typename dtype>
111 std::is_default_constructible<dtype>::value && std::is_nothrow_copy_constructible<dtype>::value &&
112 std::is_nothrow_move_constructible<dtype>::value && std::is_nothrow_copy_assignable<dtype>::value &&
113 std::is_nothrow_move_assignable<dtype>::value && std::is_nothrow_destructible<dtype>::value &&
114 !std::is_void<dtype>::value && !std::is_pointer<dtype>::value && !std::is_array<dtype>::value &&
115 !std::is_union<dtype>::value && !std::is_function<dtype>::value && !std::is_abstract<dtype>::value;
122 template<
class dtype>
126 template<
typename dtype,
class Allocator>
143 template<
typename dtype,
typename Allocator>
146 static constexpr bool value = std::is_integral_v<dtype>;
170 static constexpr bool value =
false;
194 template<std::
size_t Value1, std::
size_t Value2>
204 template<std::
size_t Value1, std::
size_t Value2>
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:139
Definition Cartesian.hpp:40
constexpr bool all_arithmetic_v
Definition TypeTraits.hpp:67
constexpr bool is_ndarray_int_v
Definition TypeTraits.hpp:154
constexpr bool greaterThan_v
Definition TypeTraits.hpp:205
std::enable_if_t< is_ndarray_int_v< T >, int > ndarray_int_concept
Definition TypeTraits.hpp:161
auto complex(dtype inReal)
Definition complex.hpp:47
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition arange.hpp:59
constexpr bool is_valid_dtype_v
Definition TypeTraits.hpp:123
constexpr bool all_same_v
Definition TypeTraits.hpp:101
constexpr bool is_complex_v
Definition TypeTraits.hpp:188
Definition TypeTraits.hpp:40
Definition TypeTraits.hpp:74
Definition TypeTraits.hpp:196
static constexpr bool value
Definition TypeTraits.hpp:197
Definition TypeTraits.hpp:169
static constexpr bool value
Definition TypeTraits.hpp:170
Definition TypeTraits.hpp:135
Definition TypeTraits.hpp:109
static constexpr bool value
Definition TypeTraits.hpp:110