NumCpp  2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
copyto.hpp
Go to the documentation of this file.
1 #pragma once
29 
30 #include "NumCpp/NdArray.hpp"
31 
32 namespace nc
33 {
34  //============================================================================
35  // Method Description:
45  template<typename dtype>
46  NdArray<dtype>& copyto(NdArray<dtype>& inDestArray, const NdArray<dtype>& inSrcArray)
47  {
48  inDestArray = inSrcArray;
49  return inDestArray;
50  }
51 } // namespace nc
nc::NdArray< dtype >
NdArray.hpp
nc
Definition: Coordinate.hpp:44
nc::copyto
NdArray< dtype > & copyto(NdArray< dtype > &inDestArray, const NdArray< dtype > &inSrcArray)
Definition: copyto.hpp:46