NumCpp  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>
47  {
48  NdArray<dtype> returnArray(inArray);
49  returnArray.byteswap();
50  return returnArray;
51  }
52 }
nc::NdArray::byteswap
NdArray< dtype > & byteswap()
Definition: NdArrayCore.hpp:2266
nc::NdArray< dtype >
NdArray.hpp
nc::byteswap
NdArray< dtype > byteswap(const NdArray< dtype > &inArray)
Definition: byteswap.hpp:46
nc
Definition: Coordinate.hpp:45