|
| | Interpolated1DFunction (const std::map< X, R > &rs, const IInterpolator< X, R > *interpolator) |
| |
| | Interpolated1DFunction (const std::map< X, std::pair< R, const IInterpolator< X, R > * >> &rs) |
| |
| virtual R | getValue (const Point< X > &p) const override |
| |
| virtual void | partition (const Interval< X > &i, const std::function< void(const Interval< X > &, const IFunction< R, Domain< X >> *)> callback) const override |
| |
| virtual bool | isFinite (const Interval< X > &i) const override |
| |
| virtual void | printStructure (std::ostream &os, int level=0) const override |
| | Prints the internal data structure of this function in a human readable form to the provided stream. More...
|
| |
| virtual void | partition (const typename Domain< X > ::I &i, const std::function< void(const typename Domain< X > ::I &, const IFunction< R, Domain< X > > *)> callback) const override |
| | Subdivides the provided domain and calls back f with the subdomains and the corresponding potentially simpler domain limited functions. More...
|
| |
| virtual Interval< R > | getRange () const override |
| | Returns the valid range of the function as an interval. More...
|
| |
| virtual Interval< R > | getRange (const typename Domain< X > ::I &i) const override |
| | Returns the valid range of the function as an interval for the given domain. More...
|
| |
| virtual Domain< X > ::I | getDomain () const override |
| | Returns the valid domain of the function as an interval. More...
|
| |
| virtual bool | isFinite () const override |
| | Returns true if the function value is finite in the whole domain. More...
|
| |
| virtual bool | isFinite (const typename Domain< X > ::I &i) const override |
| | Returns true if the function value is finite in the given domain. More...
|
| |
| virtual bool | isNonZero () const override |
| | Returns true if the function value is non-zero in the whole domain. More...
|
| |
| virtual bool | isNonZero (const typename Domain< X > ::I &i) const override |
| | Returns true if the function value is non-zero in the given domain. More...
|
| |
| virtual R | getMin () const override |
| | Returns the minimum value for the whole domain. More...
|
| |
| virtual R | getMin (const typename Domain< X > ::I &i) const override |
| | Returns the minimum value for the given domain. More...
|
| |
| virtual R | getMax () const override |
| | Returns the maximum value for the whole domain. More...
|
| |
| virtual R | getMax (const typename Domain< X > ::I &i) const override |
| | Returns the maximum value for the given domain. More...
|
| |
| virtual R | getMean () const override |
| | Returns the mean value for the whole domain. More...
|
| |
| virtual R | getMean (const typename Domain< X > ::I &i) const override |
| | Returns the mean value for the given domain. More...
|
| |
| virtual R | getIntegral () const override |
| | Returns the integral value for the whole domain. More...
|
| |
| virtual R | getIntegral (const typename Domain< X > ::I &i) const override |
| | Returns the integral value for the given domain. More...
|
| |
| virtual const Ptr< const IFunction< R, Domain< X > > > | add (const Ptr< const IFunction< R, Domain< X > >> &o) const override |
| | Adds the provided function to this function. More...
|
| |
| virtual const Ptr< const IFunction< R, Domain< X > > > | subtract (const Ptr< const IFunction< R, Domain< X > >> &o) const override |
| | Substracts the provided function from this function. More...
|
| |
| virtual const Ptr< const IFunction< R, Domain< X > > > | multiply (const Ptr< const IFunction< double, Domain< X > >> &o) const override |
| | Multiplies the provided function with this function. More...
|
| |
| virtual const Ptr< const IFunction< double, Domain< X > > > | divide (const Ptr< const IFunction< R, Domain< X > >> &o) const override |
| | Divides this function with the provided function. More...
|
| |
| virtual std::ostream & | printOn (std::ostream &os) const override |
| |
| virtual void | print (std::ostream &os, int level=0) const override |
| | Prints this function in human readable form to the provided stream for the whole domain. More...
|
| |
| virtual void | print (std::ostream &os, const typename Domain< X > ::I &i, int level=0) const override |
| | Prints this function in a human readable form to the provided stream for the given domain. More...
|
| |
| virtual void | printPartitioning (std::ostream &os, const typename Domain< X > ::I &i, int level) const override |
| | Prints the partitioning of this function in a human readable form to the provided stream for the given domain. More...
|
| |
| virtual void | printPartition (std::ostream &os, const typename Domain< X > ::I &i, int level=0) const override |
| | Prints a single partition of this function in a human readable form to the provided stream for the given domain. More...
|
| |
| virtual | ~IFunction () |
| |
| virtual R | getValue (const typename Domain< X > ::P &p) const=0 |
| | Returns the value of the function at the given point. More...
|
| |
template<typename R, typename X>
class inet::math::Interpolated1DFunction< R, X >
One-dimensional interpolated (e.g.
constant, linear) function between intervals defined by points on the X axis.