NumCpp  2.17.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
Loading...
Searching...
No Matches
applyPoly1d.hpp
Go to the documentation of this file.
1
28#pragma once
29
31#include "NumCpp/NdArray.hpp"
33
34namespace nc
35{
36 //============================================================================
37 // Method Description:
43 template<typename dtype>
45 {
46 applyFunction<dtype>(inArray, inPoly);
47 }
48} // namespace nc
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:139
Definition Poly1d.hpp:58
Definition Cartesian.hpp:40
void applyPoly1d(NdArray< dtype > &inArray, const polynomial::Poly1d< dtype > &inPoly)
Definition applyPoly1d.hpp:44
void applyFunction(NdArray< dtype > &inArray, const std::function< dtype(dtype)> &inFunc)
Definition applyFunction.hpp:46