11 #ifndef __zd_real_func_hpp
12 #define __zd_real_func_hpp
14 #include "zd_f_vector.hpp"
26 ZdRealFunc (
int n,
double fArgStep = 1.0,
double fArg0 = 0.0,
27 const char* szFuncName = NULL);
31 const char* szFuncName = NULL);
35 const char* szFuncName = NULL);
57 virtual double arg (
int i);
61 virtual double func (
int i);
109 virtual void setFunc (
int i,
double fNewValue);
119 std::vector<double> m_vArg;
120 std::vector<double> m_vFunc;
121 std::vector<bool> m_vNull;
123 ZdFVectorDouble *m_zdFunc;
125 bool m_bUniformArgStep;
131 static int s_iNameCounter;
134 static const char *s_szOwnType;
virtual double funcInterp(double a)
virtual double func(int i)
virtual void makeNullAll()
virtual bool compatibleType(const char *szType) const
Definition: zd_function.hpp:27
virtual int argIndex(double a)
Definition: zd_real_func.hpp:21
virtual void setFunc(int i, double fNewValue)
virtual bool isNullFunc(int i)
virtual void getArgBounds(double b[2])
virtual double arg(int i)
virtual void getFuncBounds(double b[2])
virtual void makeNullFunc(int i)
ZdRealFunc(int n, double fArgStep=1.0, double fArg0=0.0, const char *szFuncName=NULL)