Class VectorShape#
Defined in File shape.hpp
Class Documentation#
-
class VectorShape#
Public Types
-
using SizeType = uint32_t#
Public Functions
-
VectorShape() = default#
-
template<typename Scalar, size_t Elements>
explicit VectorShape(const FixedStorage<Scalar, Elements> &fixed)#
-
VectorShape(const VectorShape &other) = default#
-
VectorShape(VectorShape &&other) noexcept = default#
-
template<typename V>
auto operator=(const std::initializer_list<V> &vals) -> VectorShape&#
-
template<typename V>
auto operator=(const std::vector<V> &vals) -> VectorShape&#
-
VectorShape &operator=(const VectorShape &other) = default#
-
VectorShape &operator=(VectorShape &&other) noexcept = default#
-
auto operator<=>(const VectorShape &other) const = default#
-
constexpr auto ndim() const -> int#
-
auto size() const -> size_t#
Public Static Functions
-
static auto zeros() -> VectorShape#
-
static auto ones() -> VectorShape#
-
static auto zeros(size_t) -> VectorShape#
-
static auto ones(size_t) -> VectorShape#
Public Static Attributes
-
static constexpr size_t MaxDimensions = 1#
-
using SizeType = uint32_t#