48 template<
typename dtype>
53 for (
uint32 i = 0; i < inSquareSize; ++i)
55 returnArray(i, i) = dtype{ 1 };
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:72
NdArray< dtype > & zeros() noexcept
Definition: NdArrayCore.hpp:4859
Definition: Coordinate.hpp:45
NdArray< dtype > identity(uint32 inSquareSize)
Definition: identity.hpp:49
std::uint32_t uint32
Definition: Types.hpp:40