diff --git a/math/vectorfunction.h b/math/vectorfunction.h index 7895d333..d17e0e41 100755 --- a/math/vectorfunction.h +++ b/math/vectorfunction.h @@ -18,9 +18,13 @@ namespace Math { /** @addtogroup Math */ /*@{*/ +///@brief ///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. +///the constructor, rather than to copy. +/// +///Note that this object is only valid for the duration that f +///is valid. class ScalarFieldDirectionalFunction : public RealFunction { public: @@ -42,6 +46,9 @@ class ScalarFieldDirectionalFunction : public RealFunction ///A function g(t) that returns f(x+t*ei), where ei is the ith standard ///basis vector. ///If ref is true, then x is set to refer to the x provided in the constructor. +/// +///Note that this object is only valid for the duration that f +///is valid. class ScalarFieldProjectionFunction : public RealFunction { public: @@ -337,6 +344,9 @@ class VectorFieldProjectionFunction : public ScalarFieldFunction class CompositeVectorFieldFunction : public VectorFieldFunction { public: + CompositeVectorFieldFunction(); + CompositeVectorFieldFunction(SmartPointer f1,SmartPointer& f2); + CompositeVectorFieldFunction(const std::vector >& fs); virtual std::string Label() const; virtual std::string Label(int i) const; virtual int NumDimensions() const;