NumCpp
2.5.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
invert.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:
46
template
<
typename
dtype>
47
NdArray<dtype>
invert
(
const
NdArray<dtype>
& inArray)
48
{
49
return
~inArray;
50
}
51
}
// namespace nc
NdArray.hpp
nc::NdArray
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition:
NdArrayCore.hpp:72
nc
Definition:
Coordinate.hpp:45
nc::invert
NdArray< dtype > invert(const NdArray< dtype > &inArray)
Definition:
invert.hpp:47
include
NumCpp
Functions
invert.hpp
Generated by
1.9.1