3 #ifndef __zd_function_hpp
4 #define __zd_function_hpp
6 #include "zd_document.hpp"
52 virtual int count () = 0;
55 virtual double arg (
int i) = 0;
59 virtual double func (
int i) = 0;
67 virtual void arg (std::vector<double>& vArg);
72 virtual void func (std::vector<double>& vFunc,
143 virtual void setFunc (
int i,
double fNewValue);
155 static int s_iNameCounter;
158 static char *s_szOwnType;
virtual double maxFunc()
Definition: zd_function.hpp:120
virtual double arg(int i)=0
virtual bool isNullFunc(int i)
ZdFunction(const char *szFuncName=NULL)
virtual int argIndex(double a)
virtual void getArgBounds(double b[2])
virtual double maxArg()
Definition: zd_function.hpp:100
virtual double func(int i)=0
virtual void makeNullFunc(int i)
Definition: zd_function.hpp:27
virtual void getFuncBounds(double b[2])
Definition: zd_document.hpp:16
virtual double funcInterp(double a)
virtual void makeNullAll()
virtual void setFunc(int i, double fNewValue)
virtual double minArg()
Definition: zd_function.hpp:93
double minFunc()
Definition: zd_function.hpp:113
virtual bool compatibleType(const char *szType) const