MPSolve 3.2.1
Loading...
Searching...
No Matches
xmpsolve::MainWindow Class Reference
Inheritance diagram for xmpsolve::MainWindow:

Public Slots

void polynomial_solved ()
 
void openPolFile (QString path)
 openPolFile loads a .pol file given its path More...
 
void onlistRootsView_selectionChanged (QItemSelection, QItemSelection)
 
void onSolvePolFileRequested (QString path)
 

Public Member Functions

 MainWindow (QWidget *parent=0)
 
mps_algorithm selectedAlgorithm ()
 selectedAlgorithm return the algorithm currently selected by the user. More...
 
int requiredDigits ()
 requiredDigits returns the number of accuracy digits required by the user More...
 
mps_output_goal selectedGoal ()
 selectedGoal returns the goal for the computation. Can be either set to MPS_OUTPUT_GOAL_ISOLATE or to MPS_OUTPUT_GOAL_APPROXIMATE. More...
 
PolynomialBasis polynomialBasis ()
 polynomialBasis returns the polynomial basis selected by the user. More...
 
void openEditor (QString polFile="")
 openEditor performs the necessary steps to set up the PolFileEditorWindow and activate it. More...
 

Member Function Documentation

◆ openEditor()

void MainWindow::openEditor ( QString  polFile = "")

openEditor performs the necessary steps to set up the PolFileEditorWindow and activate it.

Parameters
polFileIf a non empty string is passed as argument, the file is opened in the Editor.

In the case the window is already available, it just focuses it.

◆ openPolFile

void xmpsolve::MainWindow::openPolFile ( QString  path)
slot

openPolFile loads a .pol file given its path

Parameters
pathThe path to the .pol file

◆ polynomialBasis()

PolynomialBasis MainWindow::polynomialBasis ( )

polynomialBasis returns the polynomial basis selected by the user.

Returns
A PolynomialBasis value.

◆ requiredDigits()

int MainWindow::requiredDigits ( )

requiredDigits returns the number of accuracy digits required by the user

Returns
A positive integer

◆ selectedAlgorithm()

mps_algorithm MainWindow::selectedAlgorithm ( )

selectedAlgorithm return the algorithm currently selected by the user.

Returns
An mps_algorithm with the value selected by the user.

◆ selectedGoal()

mps_output_goal MainWindow::selectedGoal ( )

selectedGoal returns the goal for the computation. Can be either set to MPS_OUTPUT_GOAL_ISOLATE or to MPS_OUTPUT_GOAL_APPROXIMATE.

Returns
The goal for the computation selected by the user.

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