 |
NumCpp
1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
53 template<
typename dtype>
63 shift = inArray.
size() - shift;
78 shift = inShape.
cols - shift;
82 for (
uint32 row = 0; row < inShape.
rows; ++row)
96 shift = inShape.
rows - shift;
100 for (
uint32 row = 0; row < inShape.
cols; ++row)
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4296
std::int32_t int32
Definition: Types.hpp:37
NdArray< dtype > transpose() const
Definition: NdArrayCore.hpp:4591
std::uint32_t uint32
Definition: Types.hpp:41
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:41
NdArray< dtype > roll(const NdArray< dtype > &inArray, int32 inShift, Axis inAxis=Axis::NONE)
Definition: roll.hpp:54
iterator end() noexcept
Definition: NdArrayCore.hpp:1435
size_type size() const noexcept
Definition: NdArrayCore.hpp:4310
uint32 cols
Definition: Core/Shape.hpp:46
Axis
Enum To describe an axis.
Definition: Types.hpp:47
Definition: Coordinate.hpp:45
uint32 rows
Definition: Core/Shape.hpp:45
void rotate(ForwardIt first, ForwardIt firstN, ForwardIt last) noexcept
Definition: StlAlgorithms.hpp:472
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091
auto abs(dtype inValue) noexcept
Definition: abs.hpp:52