NumCpp  2.1.0
A C++ implementation of the Python Numpy library
mod.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> mod(const NdArray<dtype>& inArray1, const NdArray<dtype>& inArray2)
49  {
50  return inArray1 % inArray2;
51  }
52 } // namespace nc
nc::NdArray< dtype >
NdArray.hpp
nc
Definition: Coordinate.hpp:45
nc::mod
NdArray< dtype > mod(const NdArray< dtype > &inArray1, const NdArray< dtype > &inArray2)
Definition: mod.hpp:48