00001
00007 #ifndef _LinearFunction_h
00008 #define _LinearFunction_h
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include "NonlinearFunction.h"
00020
00021
00022
00023
00024 class LinearFunction
00025 : public NonlinearFunction
00026 {
00027 public:
00028
00029
00032 LinearFunction(void);
00033
00034
00041 LinearFunction(std::auto_ptr<const FunctionTree> apFunction,
00042 const wxString& textForm = wxT(""));
00043
00044
00047 virtual ~LinearFunction(void);
00048
00049
00050
00051
00052
00053 virtual std::auto_ptr<FunctionBase> Clone() const;
00054
00055
00056 virtual wxString ToString(bool full) const;
00057
00060 virtual RowVector Coefficients() const;
00061
00064 virtual double A0() const;
00065
00066
00067
00068 protected:
00069 LinearFunction(const LinearFunction& from);
00070
00071 private:
00072 };
00073
00074
00075
00076
00077
00078
00079
00080 #endif // _LinearFunction_h_