Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Solver.h File Reference


Detailed Description

Defines the mcSolver, mcSolverArray, mcSystemStepArray and mcLineStepArray classes.

See Solver.cpp for more info.

Definition in file Solver.h.

#include <wx/panel.h>
#include "mc/Range.h"
#include "mc/MathLine.h"

Include dependency graph for Solver.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define mcSOLVER_MAXLINES   16
 The max number of lines solved by a mcSolver.
#define mcTXTSTEP(x)   ((x).io_GetInlinedExpr().c_str())
 Returns the C-string associated with the given step.
#define mcSYSTEMSTEPARR_NOFLAGS   0
 No special behaviour will be forced.
#define mcSYSTEMSTEPARR_DISCARD_SIMPLE   1
 Forces a mcSystemStepArray to make its mcSystemStepArray::data_AddLine and mcSystemStepArray::data_AddSys as the mcSystemStepArray::data_AddLineOnlyIfComplexEnough and mcSystemStepArray::data_AddSysOnlyIfComplexEnough functions.


Define Documentation

#define mcSOLVER_MAXLINES   16
 

The max number of lines solved by a mcSolver.

Definition at line 55 of file Solver.h.

Referenced by mcSolver::math_ResetUnkArray().

#define mcSYSTEMSTEPARR_DISCARD_SIMPLE   1
 

Forces a mcSystemStepArray to make its mcSystemStepArray::data_AddLine and mcSystemStepArray::data_AddSys as the mcSystemStepArray::data_AddLineOnlyIfComplexEnough and mcSystemStepArray::data_AddSysOnlyIfComplexEnough functions.

In this way, the caller of a mcSolver is able to decide at runtime, if he wants _all_ the steps, even if too simple (see #math_RemoveSimpleSteps), or if he wants to solve the system faster, keeping only the most complex steps.

Definition at line 312 of file Solver.h.

Referenced by mcSystemStepArray::data_AddLine(), and mcSystemStepArray::data_AddSys().

#define mcSYSTEMSTEPARR_NOFLAGS   0
 

No special behaviour will be forced.

Definition at line 303 of file Solver.h.

#define mcTXTSTEP  )     ((x).io_GetInlinedExpr().c_str())
 

Returns the C-string associated with the given step.

Definition at line 58 of file Solver.h.



Documentation generated with Doxygen on Sun Feb 6 17:12:08 2005
Visit MathStudio home page for more info

[ Top ]