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