Helios++
Helios software for LiDAR simulations
|
Abstract class representing a function. More...
#include <Function.h>
Public Member Functions | |
Function ()=default | |
virtual B | eval (A const &x)=0 |
Evaluate the function \(f(x)=y\). More... | |
B | operator() (A const &x) |
Evaluate the function \(f(x)=y\). More... | |
Abstract class representing a function.
A function \(f\) is a rule of assignment \(r\), together with a set \(B\) that contains the image set of \(r\). The domain \(A\) of the rule \(r\) is also called the domain of the function \(f\); the image set of \(r\) is also called the image set of \(f\); and the set \(B\) is called the range of \(f\).
A rule of assignment is a subset \(r\) of the cartesian product \(C \times D\) of two sets, having the property that each element of C appears as the first coordinate of at most one ordered pair belonging to \(r\).
A | The domain of the function |
B | The range of the function |
|
default |
@bried Function default constructor
|
pure virtual |
Evaluate the function \(f(x)=y\).
x | The input from the domain: \(x \in A\) |
Implemented in fluxionum::ParametricClosestLesserSampleFunction< double, double >, DesignTrajectoryFunction, fluxionum::SimpleLinearFunction< A, B >, fluxionum::ParametricLinearPiecesFunction< A, B >, fluxionum::LinearPiecesFunction< A, B >, fluxionum::ParametricClosestLesserSampleFunction< A, B >, fluxionum::ClosestLesserSampleFunction< A, B >, fluxionum::ParametricIterativeEulerMethod< A, B >, fluxionum::IterativeEulerMethod< A, B >, fluxionum::FixedParametricIterativeEulerMethod< A, B >, and fluxionum::FixedIterativeEulerMethod< A, B >.
|
inline |
Evaluate the function \(f(x)=y\).
x | The input from the domain: \(x \in A\) |