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