 |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
53 template<
typename dtype>
69 const Shape appendShape = inAppendValues.
shape();
70 if (inShape.
cols != appendShape.
cols)
84 const Shape appendShape = inAppendValues.
shape();
85 if (inShape.
rows != appendShape.
rows)
91 for (
uint32 row = 0; row < returnArray.
shape().rows; ++row)
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4356
std::uint32_t uint32
Definition: Types.hpp:40
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:40
OutputIt copy(InputIt first, InputIt last, OutputIt destination) noexcept
Definition: StlAlgorithms.hpp:95
size_type size() const noexcept
Definition: NdArrayCore.hpp:4370
uint32 cols
Definition: Core/Shape.hpp:45
NdArray< dtype > append(const NdArray< dtype > &inArray, const NdArray< dtype > &inAppendValues, Axis inAxis=Axis::NONE)
Definition: append.hpp:54
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1487
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
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1143
iterator begin() noexcept
Definition: NdArrayCore.hpp:1087