 |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
52 template<
typename dtype>
62 shift = inArray.
size() - shift;
77 shift = inShape.
cols - shift;
81 for (
uint32 row = 0; row < inShape.
rows; ++row)
95 shift = inShape.
rows - shift;
99 for (
uint32 row = 0; row < inShape.
cols; ++row)
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4356
std::int32_t int32
Definition: Types.hpp:36
NdArray< dtype > transpose() const
Definition: NdArrayCore.hpp:4652
std::uint32_t uint32
Definition: Types.hpp:40
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:40
NdArray< dtype > roll(const NdArray< dtype > &inArray, int32 inShift, Axis inAxis=Axis::NONE)
Definition: roll.hpp:53
iterator end() noexcept
Definition: NdArrayCore.hpp:1431
size_type size() const noexcept
Definition: NdArrayCore.hpp:4370
uint32 cols
Definition: Core/Shape.hpp:45
Axis
Enum To describe an axis.
Definition: Types.hpp:46
Definition: Coordinate.hpp:44
uint32 rows
Definition: Core/Shape.hpp:44
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:36
void rotate(ForwardIt first, ForwardIt firstN, ForwardIt last) noexcept
Definition: StlAlgorithms.hpp:471
iterator begin() noexcept
Definition: NdArrayCore.hpp:1087
auto abs(dtype inValue) noexcept
Definition: abs.hpp:51