A Shape Class for NdArrays.
Definition Core/shape.hpp:41
bool operator==(const Shape &inOtherShape) const noexcept
Definition Core/shape.hpp:82
friend std::ostream & operator<<(std::ostream &inOStream, const Shape &inShape)
Definition Core/shape.hpp:157
constexpr Shape()=default
bool isnull() const noexcept
Definition Core/shape.hpp:115
void print() const
Definition Core/shape.hpp:144
constexpr Shape(uint32 inRows, uint32 inCols) noexcept
Definition Core/shape.hpp:69
bool operator!=(const Shape &inOtherShape) const noexcept
Definition Core/shape.hpp:94
constexpr Shape(uint32 inSquareSize) noexcept
Definition Core/shape.hpp:57
uint32 rows
Definition Core/shape.hpp:44
bool issquare() const noexcept
Definition Core/shape.hpp:125
std::string str() const
Definition Core/shape.hpp:135
uint32 cols
Definition Core/shape.hpp:45
uint32 size() const noexcept
Definition Core/shape.hpp:104
std::string num2str(dtype inNumber)
Definition num2str.hpp:44
Definition Cartesian.hpp:40
NdArray< dtype > arange(dtype inStart, dtype inStop, dtype inStep=1)
Definition arange.hpp:59
std::uint32_t uint32
Definition Types.hpp:40