KrisLibrary  1.0.0
Public Member Functions | List of all members
Math::ScalarFieldDirectionalFunction Class Reference

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>

Inheritance diagram for Math::ScalarFieldDirectionalFunction:
Math::RealFunction

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 VectorLastEvaluation () const
 
- Public Member Functions inherited from Math::RealFunction
virtual std::string VariableLabel () const
 
virtual Real operator() (Real t)
 

Detailed Description

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.


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