29 const std::vector<Real> & Y,
30 const bool extrap =
false);
38 void setData(
const std::vector<Real> & X,
const std::vector<Real> & Y)
52 T
sample(
const T & x)
const;
Real integratePartial(Real x1, Real x2) const
Returns the integral of the function over a specified domain.
This class interpolates values given a set of data pairs and an abscissa.
LinearInterpolation ADLinearInterpolation
Real integrate()
This function returns the integral of the function over the whole domain.
T sample(const T &x) const
This function will take an independent variable input and will return the dependent variable based on...
unsigned int getSampleSize() const
This function returns the size of the array holding the points, i.e.
T sampleDerivative(const T &x) const
This function will take an independent variable input and will return the derivative of the dependent...
void setData(const std::vector< Real > &X, const std::vector< Real > &Y)
Set the x and y values.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual ~LinearInterpolation()=default