Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
FuncPlusFunc Class Reference

Represents the sum of two functions and the derivative. More...

#include <PolynomialEvolution.h>

+ Inheritance diagram for FuncPlusFunc:
+ Collaboration diagram for FuncPlusFunc:

Public Member Functions

 FuncPlusFunc (const OneArgumentDiffFunction *f1, const OneArgumentDiffFunction *f2, double deriv_x=Core::NaN)
 Creates the function. More...
 
double operator() (double x) const
 Evaluates the function at the given x. More...
 
const FunctionDerivatives * deriv (double x) const
 Returns the derivative. More...
 
double order (unsigned deriv_order=1) const
 For a derivative returns the given order. More...
 
double range_high () const
 The upper end of the range where the function is defined. More...
 
double range_low () const
 The lower end of the range where the function is defined. More...
 
Core::InterpSolutionIterator crossings (double) const
 Iterator over the x values where the function takes the given value. More...
 
- Public Member Functions inherited from Core::OneArgumentFunction< double, double >
virtual ~OneArgumentFunction ()
 Provide a virtual destructor for a virtual class. More...
 

Private Attributes

const OneArgumentDiffFunction * __f1
 
const OneArgumentDiffFunction * __f2
 
double __deriv_x
 

Additional Inherited Members

- Private Member Functions inherited from Core::FunctionDerivatives
virtual ~FunctionDerivatives ()
 Clean up. More...
 

Detailed Description

Represents the sum of two functions and the derivative.

Definition at line 438 of file PolynomialEvolution.h.

Constructor & Destructor Documentation

◆ FuncPlusFunc()

FuncPlusFunc::FuncPlusFunc ( const OneArgumentDiffFunction *  f1,
const OneArgumentDiffFunction *  f2,
double  deriv_x = Core::NaN 
)
inline

Creates the function.

Definition at line 445 of file PolynomialEvolution.h.

Member Function Documentation

◆ crossings()

Core::InterpSolutionIterator FuncPlusFunc::crossings ( double  ) const
inlinevirtual

Iterator over the x values where the function takes the given value.

Implements Core::OneArgumentFunction< double, double >.

Definition at line 470 of file PolynomialEvolution.h.

◆ deriv()

const FunctionDerivatives* FuncPlusFunc::deriv ( double  x) const
inlinevirtual

Returns the derivative.

Implements Core::OneArgumentDiffFunction.

Definition at line 455 of file PolynomialEvolution.h.

◆ operator()()

double FuncPlusFunc::operator() ( double  x) const
inlinevirtual

Evaluates the function at the given x.

Implements Core::OneArgumentFunction< double, double >.

Definition at line 452 of file PolynomialEvolution.h.

◆ order()

double FuncPlusFunc::order ( unsigned  deriv_order = 1) const
virtual

For a derivative returns the given order.

Implements Core::FunctionDerivatives.

Definition at line 435 of file PolynomialEvolution.cpp.

◆ range_high()

double FuncPlusFunc::range_high ( ) const
inlinevirtual

The upper end of the range where the function is defined.

Implements Core::OneArgumentFunction< double, double >.

Definition at line 462 of file PolynomialEvolution.h.

◆ range_low()

double FuncPlusFunc::range_low ( ) const
inlinevirtual

The lower end of the range where the function is defined.

Implements Core::OneArgumentFunction< double, double >.

Definition at line 466 of file PolynomialEvolution.h.


The documentation for this class was generated from the following files: