UNIVERS
15.3
UNIVERS base processing software API
|
#include <zd_f_vector.hpp>
Public Member Functions | |
ZdFVector (int n, T *pFunc, double fArgStep=1.0, double fArg0=0.0) | |
ZdFVector (int n, T *pArg, T *pFunc) | |
ZdFVector (int n, const T *pArg, const T *pFunc) | |
ZdFVector (std::vector< T > *pvArg, std::vector< T > *pvFunc) | |
virtual | ~ZdFVector () |
virtual int | count () |
virtual double | argStep () |
virtual double | arg (int i) |
virtual double | func (int i) |
virtual void | setFunc (int i, double fNewValue) |
ZdFVector (int n, T *pFunc, double fArgStep=1.0, double fArg0=0.0) | |
ZdFVector (int n, T *pArg, T *pFunc) | |
ZdFVector (int n, const T *pArg, const T *pFunc) | |
ZdFVector (std::vector< T > *pvArg, std::vector< T > *pvFunc) | |
virtual | ~ZdFVector () |
virtual int | count () |
virtual double | argStep () |
virtual double | arg (int i) |
virtual double | func (int i) |
virtual void | setFunc (int i, double fNewValue) |
Public Member Functions inherited from ZdFunction | |
ZdFunction (const char *szFuncName=NULL) | |
virtual | ~ZdFunction () |
virtual bool | compatibleType (const char *szType) const |
virtual void | arg (std::vector< double > &vArg) |
virtual void | func (std::vector< double > &vFunc, double fNull=0.0) |
virtual bool | isNullAll () |
virtual bool | isNullFunc (int i) |
virtual void | getArgBounds (double b[2]) |
virtual double | minArg () |
virtual double | maxArg () |
virtual void | getFuncBounds (double b[2]) |
double | minFunc () |
virtual double | maxFunc () |
virtual int | argIndex (double a) |
virtual double | funcInterp (double a) |
virtual void | makeNullFunc (int i) |
virtual void | makeNullAll () |
ZdFunction (const char *szFuncName=NULL) | |
virtual | ~ZdFunction () |
virtual bool | compatibleType (const char *szType) const |
virtual void | arg (std::vector< double > &vArg) |
virtual void | func (std::vector< double > &vFunc, double fNull=0.0) |
virtual bool | isNullAll () |
virtual bool | isNullFunc (int i) |
virtual void | getArgBounds (double b[2]) |
virtual double | minArg () |
virtual double | maxArg () |
virtual void | getFuncBounds (double b[2]) |
double | minFunc () |
virtual double | maxFunc () |
virtual int | argIndex (double a) |
virtual double | funcInterp (double a) |
virtual void | makeNullFunc (int i) |
virtual void | makeNullAll () |
Public Member Functions inherited from ZdDocument | |
ZdDocument (const char *szName=NULL) | |
virtual | ~ZdDocument () |
virtual void | updateViews () |
virtual bool | isChanged () |
virtual void | setChanges () |
virtual void | resetChanges () |
ZdDocument (const char *szName=NULL) | |
virtual | ~ZdDocument () |
virtual void | updateViews () |
virtual bool | isChanged () |
virtual void | setChanges () |
virtual void | resetChanges () |
Public Member Functions inherited from ZqbAutoName | |
ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
virtual | ~ZqbAutoName () |
ZqbAutoName (int *pCounter, const char *szRoot, const char *szCustomName=NULL) | |
virtual | ~ZqbAutoName () |
Public Member Functions inherited from ZqbName | |
ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
ZqbName (const ZqbName &name) | |
virtual | ~ZqbName () |
ZqbName & | operator= (const ZqbName &name) |
virtual const char * | getName () const |
virtual const char * | getType () const |
bool | hasName (const char *szString) const |
ZqbName (const char *szRoot, const char *szCustomName=NULL) | |
ZqbName (const ZqbName &name) | |
virtual | ~ZqbName () |
ZqbName & | operator= (const ZqbName &name) |
virtual const char * | getName () const |
virtual const char * | getType () const |
bool | hasName (const char *szString) const |
Additional Inherited Members | |
Protected Attributes inherited from ZdDocument | |
ZqbViewVector | m_Views |
Protected Attributes inherited from ZqbName | |
char * | m_szName |
char * | m_szRoot |
Storage class template which implements function as a vector of arbitrary number-like items which can be casted to double numbers.
The template parameter T should have casting to double. Any built-in numeric types match this requirement. For custom class operator double() should be implemented.
|
inline |
Create function interface to the plain memory vector of function values with uniform step.
Create function interface to pair of two plain memory vectors of numeric objects.
Create function interface to pair of two plain memory constant vectors of numeric objects.
|
inline |
Create function interface to pair of two STL vectors of numeric objects.
Destroy the container. Actually, it does nothing because dynamically allocated memory is not used in the object.
|
inline |
Create function interface to the plain memory vector of function values with uniform step.
Create function interface to pair of two plain memory vectors of numeric objects.
Create function interface to pair of two plain memory constant vectors of numeric objects.
|
inline |
Create function interface to pair of two STL vectors of numeric objects.
Destroy the container. Actually, it does nothing because dynamically allocated memory is not used in the object.
|
inlinevirtual |
Get value of argument in given point.
Implements ZdFunction.
|
inlinevirtual |
Get value of argument in given point.
Implements ZdFunction.
|
inlinevirtual |
Return step of argument in case argument has uniform step and 0 otherwise. Default implementation returns 0.
Reimplemented from ZdFunction.
|
inlinevirtual |
Return step of argument in case argument has uniform step and 0 otherwise. Default implementation returns 0.
Reimplemented from ZdFunction.
|
inlinevirtual |
Get number of points in function definition.
Implements ZdFunction.
|
inlinevirtual |
Get number of points in function definition.
Implements ZdFunction.
|
inlinevirtual |
Get value of function in given point. Returned value is undefined if function is not defined for this argument.
Implements ZdFunction.
|
inlinevirtual |
Get value of function in given point. Returned value is undefined if function is not defined for this argument.
Implements ZdFunction.
|
inlinevirtual |
Assign new value to the function.
Reimplemented from ZdFunction.
|
inlinevirtual |
Assign new value to the function.
Reimplemented from ZdFunction.