NumCpp
2.1.0
A C++ implementation of the Python Numpy library
byteswap.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:
45
template
<
typename
dtype>
46
NdArray<dtype>
byteswap
(
const
NdArray<dtype>
& inArray)
47
{
48
NdArray<dtype>
returnArray(inArray);
49
returnArray.
byteswap
();
50
return
returnArray;
51
}
52
}
// namespace nc
nc::NdArray::byteswap
NdArray< dtype > & byteswap()
Definition:
NdArrayCore.hpp:2271
nc::NdArray< dtype >
NdArray.hpp
nc::byteswap
NdArray< dtype > byteswap(const NdArray< dtype > &inArray)
Definition:
byteswap.hpp:46
nc
Definition:
Coordinate.hpp:45
include
NumCpp
Functions
byteswap.hpp
Generated by
1.8.17