NumCpp
2.1.0
A C++ implementation of the Python Numpy library
copyto.hpp
Go to the documentation of this file.
1
#pragma once
30
31
#include "
NumCpp/NdArray.hpp
"
32
33
namespace
nc
34
{
35
//============================================================================
36
// Method Description:
46
template
<
typename
dtype>
47
NdArray<dtype>
&
copyto
(
NdArray<dtype>
& inDestArray,
const
NdArray<dtype>
& inSrcArray)
48
{
49
inDestArray = inSrcArray;
50
return
inDestArray;
51
}
52
}
// namespace nc
nc::NdArray< dtype >
NdArray.hpp
nc
Definition:
Coordinate.hpp:45
nc::copyto
NdArray< dtype > & copyto(NdArray< dtype > &inDestArray, const NdArray< dtype > &inSrcArray)
Definition:
copyto.hpp:47
include
NumCpp
Functions
copyto.hpp
Generated by
1.8.17