Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

csfl::IFunction Class Reference

#include <function.h>

Inheritance diagram for csfl::IFunction::

csfl::ISFLObject csfl::IFConstant csfl::IFCos csfl::IFExponential csfl::IFLinear csfl::IFQuadratic csfl::IFSin List of all members.

Public Methods

 IFunction (IString _name)
 IFunction (IFunction *_f)
 ~IFunction ()
virtual int Dimension ()
virtual double Eval (double _pos)
const IStringName ()
void Setname (const IString &_n)

Protected Attributes

IString name

Detailed Description

Classe base para as diferentes funções implementadas na biblioteca.


Constructor & Destructor Documentation

csfl::IFunction::IFunction ( IString _name ) [inline]
 

O argumento “_name“ define o nome da função.

csfl::IFunction::IFunction ( IFunction * _f ) [inline]
 

csfl::IFunction::~IFunction ( ) [inline]
 


Member Function Documentation

int csfl::IFunction::Dimension ( ) [inline, virtual]
 

Retorna o grau do polinômio.

double csfl::IFunction::Eval ( double _pos ) [inline, virtual]
 

Retorna o valor da função para um valor da abscissa igual a _pos.

Reimplemented in csfl::IFConstant, csfl::IFLinear, csfl::IFQuadratic, csfl::IFSin, csfl::IFCos, and csfl::IFExponential.

const IString & csfl::IFunction::Name ( ) [inline]
 

Retorna o nome da função.

void csfl::IFunction::Setname ( const IString & _n ) [inline]
 

Modifica o nome da função.


Member Data Documentation

IString csfl::IFunction::name [protected]
 


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

 

CFD Project | Documents | Downloads | Contact us | Use Terms

 

© SINMEC/EMC/UFSC, 2001.

All rights reserved.

Last Update: Jan. 18, 2002

 Webmaster