NumCpp  2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
negative.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>
48  {
49  return -inArray;
50  }
51 } // namespace nc
nc::negative
NdArray< dtype > negative(const NdArray< dtype > &inArray)
Definition: negative.hpp:47
nc::NdArray< dtype >
NdArray.hpp
nc
Definition: Coordinate.hpp:44