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)  

IdentityFunction Class Reference

#include <Function.h>

Inheritance diagram for IdentityFunction:
[legend]
Collaboration diagram for IdentityFunction:
[legend]

Public Member Functions

 IdentityFunction (int nInputs)
 
virtual ~IdentityFunction ()
 
virtual Functioncopy ()
 
virtual int getType ()
 
virtual void transform (double *in, double *out)
 
virtual GBool isOk ()
 
 IdentityFunction ()
 
 ~IdentityFunction () override
 
Functioncopy () const override
 
int getType () const override
 
void transform (const double *in, double *out) const override
 
bool isOk () const override
 
 IdentityFunction ()
 
 ~IdentityFunction () override
 
Functioncopy () const override
 
int getType () const override
 
void transform (const double *in, double *out) const override
 
bool isOk () const override
 
- Public Member Functions inherited from Function
 Function ()
 
virtual ~Function ()
 
GBool init (Dict *dict)
 
int getInputSize ()
 
int getOutputSize ()
 
double getDomainMin (int i)
 
double getDomainMax (int i)
 
double getRangeMin (int i)
 
double getRangeMax (int i)
 
GBool getHasRange ()
 
 Function ()
 
virtual ~Function ()
 
 Function (const Function &)=delete
 
Functionoperator= (const Function &other)=delete
 
bool init (Dict *dict)
 
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
 
 Function ()
 
virtual ~Function ()
 
 Function (const Function &)=delete
 
Functionoperator= (const Function &other)=delete
 
bool init (Dict *dict)
 
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
 

Additional Inherited Members

- Static Public Member Functions inherited from Function
static Functionparse (Object *funcObj, int expectedInputs, int expectedOutputs, int recursion=0)
 
static Functionparse (Object *funcObj)
 
static Functionparse (Object *funcObj)
 
- Protected Member Functions inherited from Function
 Function (const Function *func)
 
 Function (const Function *func)
 
- Static Protected Member Functions inherited from Function
static Functionparse (Object *funcObj, std::set< int > *usedParents)
 
static Functionparse (Object *funcObj, std::set< int > *usedParents)
 
- Protected Attributes inherited from Function
int m
 
int n
 
double domain [32][2]
 
double range [32][2]
 
GBool hasRange
 
bool hasRange
 

Detailed Description

Definition at line 89 of file Function.h.

Constructor & Destructor Documentation

◆ IdentityFunction() [1/3]

IdentityFunction::IdentityFunction ( int  nInputs)

Definition at line 186 of file Function.cc.

References Function::domain, gFalse, Function::hasRange, i, Function::m, and Function::n.

◆ ~IdentityFunction() [1/3]

IdentityFunction::~IdentityFunction ( )
virtual

Definition at line 198 of file Function.cc.

◆ IdentityFunction() [2/3]

IdentityFunction::IdentityFunction ( )

Definition at line 181 of file Function.cc.

References Function::domain, funcMaxInputs, funcMaxOutputs, Function::hasRange, i, Function::m, and Function::n.

Referenced by copy().

◆ ~IdentityFunction() [2/3]

IdentityFunction::~IdentityFunction ( )
override

◆ IdentityFunction() [3/3]

IdentityFunction::IdentityFunction ( )

◆ ~IdentityFunction() [3/3]

IdentityFunction::~IdentityFunction ( )
override

Member Function Documentation

◆ copy() [1/3]

virtual Function* IdentityFunction::copy ( )
inlinevirtual

Implements Function.

Definition at line 94 of file Function.h.

References IdentityFunction(), and Function::m.

◆ copy() [2/3]

Function* IdentityFunction::copy ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 110 of file Function.h.

References IdentityFunction().

◆ copy() [3/3]

Function* IdentityFunction::copy ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 110 of file Function.h.

References IdentityFunction().

◆ getType() [1/3]

virtual int IdentityFunction::getType ( )
inlinevirtual

Implements Function.

Definition at line 95 of file Function.h.

◆ getType() [2/3]

int IdentityFunction::getType ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 111 of file Function.h.

◆ getType() [3/3]

int IdentityFunction::getType ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 111 of file Function.h.

◆ isOk() [1/3]

virtual GBool IdentityFunction::isOk ( )
inlinevirtual

Implements Function.

Definition at line 97 of file Function.h.

References gTrue.

◆ isOk() [2/3]

bool IdentityFunction::isOk ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 113 of file Function.h.

◆ isOk() [3/3]

bool IdentityFunction::isOk ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 113 of file Function.h.

◆ transform() [1/3]

void IdentityFunction::transform ( const double *  in,
double *  out 
) const
overridevirtual

Implements Function.

Definition at line 198 of file Function.cc.

References funcMaxOutputs, i, in, and out.

◆ transform() [2/3]

void IdentityFunction::transform ( const double *  in,
double *  out 
) const
overridevirtual

Implements Function.

◆ transform() [3/3]

void IdentityFunction::transform ( double *  in,
double *  out 
)
virtual

Implements Function.

Definition at line 201 of file Function.cc.

References i, in, Function::m, and out.


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