|
queso-0.51.1
|
Class for one-dimensional quadratic functions. More...
#include <1D1DFunction.h>


Public Member Functions | |
Constructor/Destructor methods | |
| Quadratic1D1DFunction (double minDomainValue, double maxDomainValue, double a, double b, double c) | |
| Default constructor. More... | |
| ~Quadratic1D1DFunction () | |
| Destructor. More... | |
Public Member Functions inherited from QUESO::Base1D1DFunction | |
| Base1D1DFunction (double minDomainValue, double maxDomainValue) | |
| Default constructor. More... | |
| virtual | ~Base1D1DFunction () |
| Destructor. More... | |
| double | minDomainValue () const |
| Returns the minimum value of the domain of the (one-dimensional) function. More... | |
| double | maxDomainValue () const |
| Returns the maximum value of the domain of the (one-dimensional) function. More... | |
| virtual double | value (double domainValue) const =0 |
| Returns the value of the (one-dimensional) function. See template specialization. More... | |
| virtual double | deriv (double domainValue) const =0 |
| Returns the value of the derivative of the function. See template specialization. More... | |
| virtual double | multiplyAndIntegrate (const Base1D1DFunction &func, unsigned int quadratureOrder, double *resultWithMultiplicationByTAsWell) const |
TODO: Multiplies this function with function, and integrates it numerically. See template specialization. More... | |
Additional Inherited Members | |
Protected Attributes inherited from QUESO::Base1D1DFunction | |
| double | m_minDomainValue |
| double | m_maxDomainValue |
Class for one-dimensional quadratic functions.
This class implements quadratic one-dimensional functions. A quadratic function, in mathematics, is a polynomial function of the form
The graph of a quadratic function is a parabola whose axis of symmetry is parallel to the y-axis.
Definition at line 292 of file 1D1DFunction.h.
| QUESO::Quadratic1D1DFunction::Quadratic1D1DFunction | ( | double | minDomainValue, |
| double | maxDomainValue, | ||
| double | a, | ||
| double | b, | ||
| double | c | ||
| ) |
Default constructor.
Constructs a quadratic function in the interval [minDomainValue,maxDomainValue], of the type:
.
Definition at line 412 of file 1D1DFunction.C.
| QUESO::Quadratic1D1DFunction::~Quadratic1D1DFunction | ( | ) |