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)  

ExponentialFunction Class Reference

#include <Function.h>

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

Public Member Functions

 ExponentialFunction (Object *funcObj, Dict *dict)
 
virtual ~ExponentialFunction ()
 
virtual Functioncopy ()
 
virtual int getType ()
 
virtual void transform (double *in, double *out)
 
virtual GBool isOk ()
 
double * getC0 ()
 
double * getC1 ()
 
double getE ()
 
 ExponentialFunction (Object *funcObj, Dict *dict)
 
 ~ExponentialFunction () override
 
Functioncopy () const override
 
int getType () const override
 
void transform (const double *in, double *out) const override
 
bool isOk () const override
 
const double * getC0 () const
 
const double * getC1 () const
 
double getE () const
 
 ExponentialFunction (Object *funcObj, Dict *dict)
 
 ~ExponentialFunction () override
 
Functioncopy () const override
 
int getType () const override
 
void transform (const double *in, double *out) const override
 
bool isOk () const override
 
const double * getC0 () const
 
const double * getC1 () const
 
double getE () const
 
- 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
 

Private Member Functions

 ExponentialFunction (ExponentialFunction *func)
 
 ExponentialFunction (const ExponentialFunction *func)
 
 ExponentialFunction (const ExponentialFunction *func)
 

Private Attributes

double c0 [32]
 
double c1 [32]
 
double e
 
GBool ok
 
bool isLinear
 
bool ok
 

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 148 of file Function.h.

Constructor & Destructor Documentation

◆ ExponentialFunction() [1/6]

ExponentialFunction::ExponentialFunction ( Object funcObj,
Dict dict 
)

◆ ~ExponentialFunction() [1/3]

ExponentialFunction::~ExponentialFunction ( )
virtual

Definition at line 607 of file Function.cc.

◆ ExponentialFunction() [2/6]

ExponentialFunction::ExponentialFunction ( ExponentialFunction func)
private

Definition at line 610 of file Function.cc.

References func, and memcpy.

◆ ExponentialFunction() [3/6]

ExponentialFunction::ExponentialFunction ( Object funcObj,
Dict dict 
)

◆ ~ExponentialFunction() [2/3]

ExponentialFunction::~ExponentialFunction ( )
override

◆ ExponentialFunction() [4/6]

ExponentialFunction::ExponentialFunction ( const ExponentialFunction func)
private

Definition at line 624 of file Function.cc.

References c0, c1, e, func, funcMaxOutputs, isLinear, memcpy, and ok.

◆ ExponentialFunction() [5/6]

ExponentialFunction::ExponentialFunction ( Object funcObj,
Dict dict 
)

◆ ~ExponentialFunction() [3/3]

ExponentialFunction::~ExponentialFunction ( )
override

◆ ExponentialFunction() [6/6]

ExponentialFunction::ExponentialFunction ( const ExponentialFunction func)
private

Member Function Documentation

◆ copy() [1/3]

virtual Function* ExponentialFunction::copy ( )
inlinevirtual

Implements Function.

Definition at line 153 of file Function.h.

References ExponentialFunction().

◆ copy() [2/3]

Function* ExponentialFunction::copy ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 170 of file Function.h.

References ExponentialFunction().

◆ copy() [3/3]

Function* ExponentialFunction::copy ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 170 of file Function.h.

References ExponentialFunction().

◆ getC0() [1/3]

double* ExponentialFunction::getC0 ( )
inline

Definition at line 158 of file Function.h.

References c0.

Referenced by PSOutputDev::cvtFunction().

◆ getC0() [2/3]

const double* ExponentialFunction::getC0 ( ) const
inline

Definition at line 175 of file Function.h.

References c0.

◆ getC0() [3/3]

const double* ExponentialFunction::getC0 ( ) const
inline

Definition at line 175 of file Function.h.

References c0.

◆ getC1() [1/3]

double* ExponentialFunction::getC1 ( )
inline

Definition at line 159 of file Function.h.

References c1.

Referenced by PSOutputDev::cvtFunction().

◆ getC1() [2/3]

const double* ExponentialFunction::getC1 ( ) const
inline

Definition at line 176 of file Function.h.

References c1.

◆ getC1() [3/3]

const double* ExponentialFunction::getC1 ( ) const
inline

Definition at line 176 of file Function.h.

References c1.

◆ getE() [1/3]

double ExponentialFunction::getE ( )
inline

Definition at line 160 of file Function.h.

References e.

Referenced by PSOutputDev::cvtFunction().

◆ getE() [2/3]

double ExponentialFunction::getE ( ) const
inline

Definition at line 177 of file Function.h.

References e.

◆ getE() [3/3]

double ExponentialFunction::getE ( ) const
inline

Definition at line 177 of file Function.h.

References e.

◆ getType() [1/3]

virtual int ExponentialFunction::getType ( )
inlinevirtual

Implements Function.

Definition at line 154 of file Function.h.

◆ getType() [2/3]

int ExponentialFunction::getType ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 171 of file Function.h.

◆ getType() [3/3]

int ExponentialFunction::getType ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 171 of file Function.h.

◆ isOk() [1/3]

virtual GBool ExponentialFunction::isOk ( )
inlinevirtual

Implements Function.

Definition at line 156 of file Function.h.

References ok.

◆ isOk() [2/3]

bool ExponentialFunction::isOk ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 173 of file Function.h.

References ok.

◆ isOk() [3/3]

bool ExponentialFunction::isOk ( ) const
inlineoverridevirtual

Implements Function.

Definition at line 173 of file Function.h.

References ok.

◆ transform() [1/3]

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

Implements Function.

Definition at line 634 of file Function.cc.

References c0, c1, Function::domain, e, Function::hasRange, i, in, isLinear, Function::n, out, pow(), Function::range, and cordic::x.

◆ transform() [2/3]

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

Implements Function.

◆ transform() [3/3]

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

Implements Function.

Definition at line 614 of file Function.cc.

References c0, c1, Function::domain, e, Function::hasRange, i, in, Function::n, out, pow(), Function::range, and cordic::x.

Member Data Documentation

◆ c0

double ExponentialFunction::c0
private

Definition at line 166 of file Function.h.

Referenced by ExponentialFunction(), getC0(), and transform().

◆ c1

double ExponentialFunction::c1
private

Definition at line 167 of file Function.h.

Referenced by ExponentialFunction(), getC1(), and transform().

◆ e

double ExponentialFunction::e
private

Definition at line 168 of file Function.h.

Referenced by ExponentialFunction(), getE(), and transform().

◆ isLinear

bool ExponentialFunction::isLinear
private

Definition at line 185 of file Function.h.

Referenced by ExponentialFunction(), and transform().

◆ ok [1/2]

bool ExponentialFunction::ok
private

Definition at line 169 of file Function.h.

Referenced by ExponentialFunction(), and isOk().

◆ ok [2/2]

bool ExponentialFunction::ok
private

Definition at line 186 of file Function.h.


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