MNE-CPP  beta 1.0
Signals | Public Member Functions | List of all members
Formulaeditor Class Reference
Inheritance diagram for Formulaeditor:

Signals

void formula_saved ()
 

Public Member Functions

 Formulaeditor (QWidget *parent=0)
 
QString get_formula ()
 
void strip_formula (QString &strFormula)
 
void set_formula (QString Formula)
 
void set_funct_const (int index, double val)
 
double calculation (QString strFormula, qreal xValue, bool strip=true)
 

Detailed Description

Definition at line 75 of file formulaeditor.h.

Member Function Documentation

double Formulaeditor::calculation ( QString  strFormula,
qreal  xValue,
bool  strip = true 
)

FormlaEditor_calculation

MP toolbox FormulaEditor function

calculation of function values

Parameters
QStringstrFormula formula
qrealxValue value of paramters
boolstrip read in correct formula (true)
Returns
double calculation function value

Definition at line 774 of file formulaeditor.cpp.

QString Formulaeditor::get_formula ( )

FormlaEditor_get_formula

MP toolbox FormulaEditor function

gets formula

Returns
QString formula

Definition at line 883 of file formulaeditor.cpp.

void Formulaeditor::set_formula ( QString  Formula)

FormlaEditor_set_formula

MP toolbox FormulaEditor function

sets formula

Parameters
QStringFormula
Returns
void

Definition at line 876 of file formulaeditor.cpp.

void Formulaeditor::set_funct_const ( int  index,
double  val 
)

FormlaEditor_set_funct_const

MP toolbox FormulaEditor function

sets formula

Parameters
intindex index of paramters
doubleval value of paramters
Returns
void

Definition at line 1071 of file formulaeditor.cpp.

void Formulaeditor::strip_formula ( QString &  strFormula)

FormlaEditor_strip_formula

MP toolbox FormulaEditor function

adapts formula for calculation

Parameters
QStringstrformula
Returns
void

Definition at line 658 of file formulaeditor.cpp.


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