47 template<
typename dtype>
52 return full(inSquareSize, inSquareSize, dtype{ 1 });
65 template<
typename dtype>
70 return full(inNumRows, inNumCols, dtype{ 1 });
82 template<
typename dtype>
87 return full(inShape, dtype{ 1 });
#define STATIC_ASSERT_ARITHMETIC_OR_COMPLEX(dtype)
Definition: StaticAsserts.hpp:56
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:139
A Shape Class for NdArrays.
Definition: Core/Shape.hpp:41
Definition: Cartesian.hpp:40
NdArray< dtype > ones(uint32 inSquareSize)
Definition: ones.hpp:48
NdArray< dtype > full(uint32 inSquareSize, dtype inFillValue)
Definition: full.hpp:47
std::uint32_t uint32
Definition: Types.hpp:40