KrisLibrary
1.0.0
|
A function g(t) that returns f(x+tn) for a scalar field f(x) If ref is true, then x,n are set to refer to the x,n provided in the constructor, rather than to copy. More...
#include <vectorfunction.h>
Public Member Functions | |
ScalarFieldDirectionalFunction (ScalarFieldFunction &_f, const Vector &x, const Vector &n, bool ref=false) | |
virtual std::string | Label () const |
virtual void | PreEval (Real t) |
virtual Real | Eval (Real t) |
virtual Real | Deriv (Real t) |
virtual Real | Deriv2 (Real t) |
virtual const Vector & | LastEvaluation () const |
Public Member Functions inherited from Math::RealFunction | |
virtual std::string | VariableLabel () const |
virtual Real | operator() (Real t) |
A function g(t) that returns f(x+tn) for a scalar field f(x) If ref is true, then x,n are set to refer to the x,n provided in the constructor, rather than to copy.
Note that this object is only valid for the duration that f is valid.