w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Function Class Referenceabstract

#include <Function.h>

Inheritance diagram for Function:
[legend]

Public Member Functions

 Function ()
 
virtual ~Function ()
 
GBool init (Dict *dict)
 
virtual Functioncopy ()=0
 
virtual int getType ()=0
 
int getInputSize ()
 
int getOutputSize ()
 
double getDomainMin (int i)
 
double getDomainMax (int i)
 
double getRangeMin (int i)
 
double getRangeMax (int i)
 
GBool getHasRange ()
 
virtual void transform (double *in, double *out)=0
 
virtual GBool isOk ()=0
 
 Function ()
 
virtual ~Function ()
 
 Function (const Function &)=delete
 
Functionoperator= (const Function &other)=delete
 
bool init (Dict *dict)
 
virtual Functioncopy () const =0
 
virtual int getType () const =0
 
int getInputSize () const
 
int getOutputSize () const
 
double getDomainMin (int i) const
 
double getDomainMax (int i) const
 
double getRangeMin (int i) const
 
double getRangeMax (int i) const
 
bool getHasRange () const
 
virtual bool hasDifferentResultSet (const Function *func) const
 
virtual void transform (const double *in, double *out) const =0
 
virtual bool isOk () const =0
 
 Function ()
 
virtual ~Function ()
 
 Function (const Function &)=delete
 
Functionoperator= (const Function &other)=delete
 
bool init (Dict *dict)
 
virtual Functioncopy () const =0
 
virtual int getType () const =0
 
int getInputSize () const
 
int getOutputSize () const
 
double getDomainMin (int i) const
 
double getDomainMax (int i) const
 
double getRangeMin (int i) const
 
double getRangeMax (int i) const
 
bool getHasRange () const
 
virtual bool hasDifferentResultSet (const Function *func) const
 
virtual void transform (const double *in, double *out) const =0
 
virtual bool isOk () const =0
 

Static Public Member Functions

static Functionparse (Object *funcObj, int expectedInputs, int expectedOutputs, int recursion=0)
 
static Functionparse (Object *funcObj)
 
static Functionparse (Object *funcObj)
 

Protected Member Functions

 Function (const Function *func)
 
 Function (const Function *func)
 

Static Protected Member Functions

static Functionparse (Object *funcObj, std::set< int > *usedParents)
 
static Functionparse (Object *funcObj, std::set< int > *usedParents)
 

Protected Attributes

int m
 
int n
 
double domain [32][2]
 
double range [32][2]
 
GBool hasRange
 
bool hasRange
 

Detailed Description

Definition at line 34 of file Function.h.

Constructor & Destructor Documentation

◆ Function() [1/7]

Function::Function ( )

Definition at line 38 of file Function.cc.

◆ ~Function() [1/3]

Function::~Function ( )
virtual

Definition at line 41 of file Function.cc.

◆ Function() [2/7]

Function::Function ( )

◆ ~Function() [2/3]

virtual Function::~Function ( )
virtual

◆ Function() [3/7]

Function::Function ( const Function )
delete

◆ Function() [4/7]

Function::Function ( const Function func)
protected

Definition at line 105 of file Function.cc.

References domain, func, funcMaxInputs, funcMaxOutputs, hasRange, m, memcpy, n, and range.

◆ Function() [5/7]

Function::Function ( )

◆ ~Function() [3/3]

virtual Function::~Function ( )
virtual

◆ Function() [6/7]

Function::Function ( const Function )
delete

◆ Function() [7/7]

Function::Function ( const Function func)
protected

Member Function Documentation

◆ copy() [1/3]

◆ copy() [2/3]

◆ copy() [3/3]

◆ getDomainMax() [1/3]

double Function::getDomainMax ( int  i)
inline

◆ getDomainMax() [2/3]

double Function::getDomainMax ( int  i) const
inline

Definition at line 77 of file Function.h.

References domain, and i.

◆ getDomainMax() [3/3]

double Function::getDomainMax ( int  i) const
inline

Definition at line 77 of file Function.h.

References domain, and i.

◆ getDomainMin() [1/3]

double Function::getDomainMin ( int  i)
inline

◆ getDomainMin() [2/3]

double Function::getDomainMin ( int  i) const
inline

Definition at line 76 of file Function.h.

References domain, and i.

◆ getDomainMin() [3/3]

double Function::getDomainMin ( int  i) const
inline

Definition at line 76 of file Function.h.

References domain, and i.

◆ getHasRange() [1/3]

GBool Function::getHasRange ( )
inline

Definition at line 68 of file Function.h.

References hasRange.

Referenced by PSOutputDev::cvtFunction().

◆ getHasRange() [2/3]

bool Function::getHasRange ( ) const
inline

Definition at line 80 of file Function.h.

References hasRange.

◆ getHasRange() [3/3]

bool Function::getHasRange ( ) const
inline

Definition at line 80 of file Function.h.

References hasRange.

◆ getInputSize() [1/3]

int Function::getInputSize ( )
inline

◆ getInputSize() [2/3]

int Function::getInputSize ( ) const
inline

Definition at line 73 of file Function.h.

References m.

◆ getInputSize() [3/3]

int Function::getInputSize ( ) const
inline

Definition at line 73 of file Function.h.

References m.

◆ getOutputSize() [1/3]

◆ getOutputSize() [2/3]

int Function::getOutputSize ( ) const
inline

Definition at line 74 of file Function.h.

References n.

◆ getOutputSize() [3/3]

int Function::getOutputSize ( ) const
inline

Definition at line 74 of file Function.h.

References n.

◆ getRangeMax() [1/3]

double Function::getRangeMax ( int  i)
inline

Definition at line 67 of file Function.h.

References i, and range.

Referenced by PSOutputDev::cvtFunction().

◆ getRangeMax() [2/3]

double Function::getRangeMax ( int  i) const
inline

Definition at line 79 of file Function.h.

References i, and range.

◆ getRangeMax() [3/3]

double Function::getRangeMax ( int  i) const
inline

Definition at line 79 of file Function.h.

References i, and range.

◆ getRangeMin() [1/3]

double Function::getRangeMin ( int  i)
inline

Definition at line 66 of file Function.h.

References i, and range.

Referenced by PSOutputDev::cvtFunction().

◆ getRangeMin() [2/3]

double Function::getRangeMin ( int  i) const
inline

Definition at line 78 of file Function.h.

References i, and range.

◆ getRangeMin() [3/3]

double Function::getRangeMin ( int  i) const
inline

Definition at line 78 of file Function.h.

References i, and range.

◆ getType() [1/3]

◆ getType() [2/3]

◆ getType() [3/3]

virtual int Function::getType ( )
pure virtual

◆ hasDifferentResultSet() [1/2]

virtual bool Function::hasDifferentResultSet ( const Function func) const
inlinevirtual

◆ hasDifferentResultSet() [2/2]

virtual bool Function::hasDifferentResultSet ( const Function func) const
inlinevirtual

Reimplemented in SampledFunction, and SampledFunction.

Definition at line 81 of file Function.h.

◆ init() [1/3]

◆ init() [2/3]

bool Function::init ( Dict dict)

◆ init() [3/3]

bool Function::init ( Dict dict)

◆ isOk() [1/3]

◆ isOk() [2/3]

◆ isOk() [3/3]

virtual GBool Function::isOk ( )
pure virtual

◆ operator=() [1/2]

Function& Function::operator= ( const Function other)
delete

◆ operator=() [2/2]

Function& Function::operator= ( const Function other)
delete

◆ parse() [1/5]

Function * Function::parse ( Object funcObj)
static

Definition at line 55 of file Function.cc.

References parse().

◆ parse() [2/5]

static Function* Function::parse ( Object funcObj)
static

◆ parse() [3/5]

◆ parse() [4/5]

Function * Function::parse ( Object funcObj,
std::set< int > *  usedParents 
)
staticprotected

◆ parse() [5/5]

static Function* Function::parse ( Object funcObj,
std::set< int > *  usedParents 
)
staticprotected

◆ transform() [1/3]

virtual void Function::transform ( const double *  in,
double *  out 
) const
pure virtual

◆ transform() [2/3]

virtual void Function::transform ( const double *  in,
double *  out 
) const
pure virtual

◆ transform() [3/3]

Member Data Documentation

◆ domain

◆ hasRange [1/2]

◆ hasRange [2/2]

bool Function::hasRange
protected

Definition at line 98 of file Function.h.

◆ m

◆ n

◆ range


The documentation for this class was generated from the following files: