44 template<
typename dtype>
47 auto returnArray = inArray.
copy();
48 returnArray.replace(oldValue, newValue);
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition: NdArrayCore.hpp:72
NdArray< dtype > copy() const
Definition: NdArrayCore.hpp:2317
Definition: Coordinate.hpp:45
NdArray< dtype > replace(const NdArray< dtype > &inArray, dtype oldValue, dtype newValue)
Definition: replace.hpp:45