25#ifndef MATHUTILS_FUNCTION_H
26#define MATHUTILS_FUNCTION_H
29#include "ElementsKernel/Exception.h"
41template <
typename Seq>
55 template <std::
size_t>
58 template <std::
size_t>
103template <std::
size_t N>
virtual double operator()(Doubles< Is >... xn) const =0
virtual ~NAryFunctionImpl()=default
Default destructor.
virtual void operator()(const Vectors< Is > &... xs, std::vector< double > &output) const
Interface class representing a function with an arbitrary number of parameters.
virtual std::unique_ptr< NAryFunction > clone() const =0
std::array< std::vector< double >, N > Coordinates
Used to pass the grid coordinates to interpn. Internally will make a copy of the required values.