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

mcExpandSolver Class Reference

#include <GenericSolver.h>

Inheritance diagram for mcExpandSolver:

Inheritance graph
[legend]
Collaboration diagram for mcExpandSolver:

Collaboration graph
[legend]
List of all members.

Detailed Description

Just uses the mcElement::math_Expand command until it returns mcESR_DONE.

Definition at line 70 of file GenericSolver.h.

Public Member Functions

 mcExpandSolver ()
virtual ~mcExpandSolver ()
bool math_SolveLine (mcMathLine &p, const mcSymbolProperties *unk, mcSystemStepArray &)
 Just uses the mcSolver::math_DoCompleteExpansion to fill the step array.
bool math_WorksOn (const mcMathOrSystem &m) const
 Returns TRUE if this algorithm can be applied on the given math system solving it for one of the mcSymbol contained registered as unknowns.
bool math_isReady () const
 Returns TRUE if this solver is ready to work.
wxPanel * gui_GetOptionsPanel () const
 Returns the panel containing the options for this algorithm.


Constructor & Destructor Documentation

mcExpandSolver::mcExpandSolver  )  [inline]
 

Definition at line 73 of file GenericSolver.h.

References mcST_EXPAND.

virtual mcExpandSolver::~mcExpandSolver  )  [inline, virtual]
 

Definition at line 79 of file GenericSolver.h.


Member Function Documentation

wxPanel* mcExpandSolver::gui_GetOptionsPanel  )  const [inline, virtual]
 

Returns the panel containing the options for this algorithm.

The returned pointer must be deleted by the caller, when it is not required anymore... If the returned value is NULL, no options are available for this solver.

Implements mcSolver.

Definition at line 88 of file GenericSolver.h.

bool mcExpandSolver::math_isReady  )  const [inline, virtual]
 

Returns TRUE if this solver is ready to work.

This function can be used to check if all the options/settings for this solver have been correctly set and the #Solve() function will correctly work (on a system where #WorksOn returns TRUE).

Implements mcSolver.

Definition at line 86 of file GenericSolver.h.

bool mcExpandSolver::math_SolveLine mcMathLine p,
const mcSymbolProperties unk,
mcSystemStepArray
[virtual]
 

Just uses the mcSolver::math_DoCompleteExpansion to fill the step array.

Implements mcSolver.

Definition at line 83 of file GenericSolver.cpp.

References mcSolver::math_DoCompleteExpansion(), mcEXPSIM_NOFLAGS, mcSOLVERLOG, and mcTXTP.

bool mcExpandSolver::math_WorksOn const mcMathOrSystem m  )  const [inline, virtual]
 

Returns TRUE if this algorithm can be applied on the given math system solving it for one of the mcSymbol contained registered as unknowns.

Note:
This function does not take a mcSymbolProperties which indicates the unknown to solve for.because the unknown to solve for will be decided by math_PreSolve, _after_ this function has been called.

Implements mcSolver.

Definition at line 84 of file GenericSolver.h.


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

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

[ Top ]