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