 |
NumCpp
1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
54 template<
typename dtype>
70 const Shape appendShape = inAppendValues.
shape();
71 if (inShape.
cols != appendShape.
cols)
85 const Shape appendShape = inAppendValues.
shape();
86 if (inShape.
rows != appendShape.
rows)
92 for (
uint32 row = 0; row < returnArray.
shape().rows; ++row)
Shape shape() const noexcept
Definition: NdArrayCore.hpp:4296
std::uint32_t uint32
Definition: Types.hpp:41
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:41
OutputIt copy(InputIt first, InputIt last, OutputIt destination) noexcept
Definition: StlAlgorithms.hpp:96
size_type size() const noexcept
Definition: NdArrayCore.hpp:4310
uint32 cols
Definition: Core/Shape.hpp:46
NdArray< dtype > append(const NdArray< dtype > &inArray, const NdArray< dtype > &inAppendValues, Axis inAxis=Axis::NONE)
Definition: append.hpp:55
const_iterator cend() const noexcept
Definition: NdArrayCore.hpp:1491
Axis
Enum To describe an axis.
Definition: Types.hpp:47
Definition: Coordinate.hpp:45
uint32 rows
Definition: Core/Shape.hpp:45
#define THROW_INVALID_ARGUMENT_ERROR(msg)
Definition: Error.hpp:37
const_iterator cbegin() const noexcept
Definition: NdArrayCore.hpp:1147
iterator begin() noexcept
Definition: NdArrayCore.hpp:1091