 |
NumCpp
2.3.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
50 constexpr
Shape() =
default;
82 return rows == inOtherShape.rows &&
cols == inOtherShape.cols;
94 return !(*
this == inOtherShape);
157 inOStream << inShape.
str();
constexpr bool operator!=(const Shape &inOtherShape) const noexcept
Definition: Core/Shape.hpp:92
std::string num2str(dtype inNumber)
Definition: num2str.hpp:46
constexpr bool issquare() const noexcept
Definition: Core/Shape.hpp:123
friend std::ostream & operator<<(std::ostream &inOStream, const Shape &inShape)
Definition: Core/Shape.hpp:155
std::uint32_t uint32
Definition: Types.hpp:40
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:40
uint32 cols
Definition: Core/Shape.hpp:45
Definition: Coordinate.hpp:44
uint32 rows
Definition: Core/Shape.hpp:44
constexpr uint32 size() const noexcept
Definition: Core/Shape.hpp:102
constexpr bool isnull() const noexcept
Definition: Core/Shape.hpp:113
constexpr Shape(uint32 inRows, uint32 inCols) noexcept
Definition: Core/Shape.hpp:68
constexpr bool operator==(const Shape &inOtherShape) const noexcept
Definition: Core/Shape.hpp:80
constexpr Shape(uint32 inSquareSize) noexcept
Definition: Core/Shape.hpp:57
void print() const
Definition: Core/Shape.hpp:142
constexpr Shape()=default
std::string str() const
Definition: Core/Shape.hpp:133