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:139
self_type & replace(value_type oldValue, value_type newValue)
Definition: NdArrayCore.hpp:4248
self_type copy() const
Definition: NdArrayCore.hpp:2486
Definition: Cartesian.hpp:40
NdArray< dtype > replace(const NdArray< dtype > &inArray, dtype oldValue, dtype newValue)
Definition: replace.hpp:45