![]() |
Eötvös Quantum Utilities
v4.9.146
Providing the Horsepowers in the Quantum Realm
|
A class for controlling the parallel pool for paralell computations. More...

Public Member Functions | |
| function | closePool () |
| Closes a parallel pool. More... | |
| function | diagInv (A) |
| Calculates the diagonal part of the inverse of a sparse matrix. More... | |
| function | display (message, nosilent) |
| Displays output messages on the screen. More... | |
| function | eig (A, B) |
| Calculates the generalized eigenvalue problem based on the zggev and dggev LAPACK functions. More... | |
| function | getOpt () |
| Retrives the structure containing the calculation parameters. More... | |
| function | getProgramName () |
| Gets the name of the package. More... | |
| function | getProgramShortName () |
| Gets the short name of the package. More... | |
| function | getVersion () |
| Gets the current version of the package. More... | |
| function | IsDeployedMKL () |
| Checks whether the MKL component is deployed. More... | |
| function | openPool () |
| Opens a parallel pool for parallel computations. More... | |
| function | Parallel (Opt) |
| Constructor of the class. More... | |
| function | partialInv (A, sizeInv) |
| Calculates a partial inverse of a sparse matrix. More... | |
| function | xmlread (filename) |
| Function to load XML files (based on xerces libraries), providing octave compatibility. More... | |
| function | xmlwrite (filename, DOM) |
| Function to export XML files (based on xerces libraries), providing octave compatibility. More... | |
Static Public Member Functions | |
| static function | BadInputType (variable, type) |
| Throws a "bad input type" warning, with using the default value. More... | |
| static function | BadInputTypeNoDefault (variable, type) |
| Throws a "bad input type" warning without setting it to default. More... | |
| static function | checkMEXfile (fncname) |
| Checks the presence of a given MEX file. More... | |
| static function | ExceedIteration () |
| Throws an "iteration exceeded" warning. More... | |
| static function | inv_SVD (A) |
| Inverts badly conditioned matrix A with SVD regularization. More... | |
| static function | isOctave () |
| Checks whether the running environment is matlab or octave. More... | |
| static function | SimphsonInt (y, h) |
| Simphson integral: y is a vector of function values at equal distant points: y_i = f(x_i), x_i-x_{i-1}=h. More... | |
Public Attributes | |
| Property | NumWorkers |
| Number of workers. More... | |
Protected Attributes | |
| Property | DeployedMKL |
| True if MKL component is built, false otherwise. More... | |
| Property | MaxSize |
| Maximal size of full matrixes to be handled. More... | |
| Property | Opt |
| An instance of structure Opt. More... | |
| Property | poolobj |
| The parallel.Pool object, see the documentation for more details. More... | |
| Property | ProgramName |
| Name of the package. More... | |
| Property | ProgramShortName |
| Short name of the package. More... | |
| Property | try2open |
| Number of attempts to open the parallel pool. More... | |
| Property | try2open_max |
| Maximal number of attemts to open the parallel pool. More... | |
| Property | version |
| The current version of the package. More... | |
| Property | waitsec |
| A period to wait between the attempts to open the parallel pool. More... | |
A class for controlling the parallel pool for paralell computations.
(compatble only wih MATLAB)
EQuUs v4.6 or later
Definition at line 26 of file Parallel.m.
|
staticinherited |
Throws a "bad input type" warning, with using the default value.
| variable | A string conatining the name of the variable. |
| type | A string describing the desired type. |
|
staticinherited |
Throws a "bad input type" warning without setting it to default.
| variable | A string conatining the name of the variable. |
| type | A string describing the desired type. |
|
staticinherited |
Checks the presence of a given MEX file.
| fncname | The name of the function. |
| function Parallel::closePool | ( | ) |
Closes a parallel pool.
|
inherited |
Calculates the diagonal part of the inverse of a sparse matrix.
If MKL component is advised to build.
| A | A sparse matrix to be inverted |
|
inherited |
Displays output messages on the screen.
| message | String containing the message to be displayed |
| nosilent | Set true to override the silent option given in Opt.Silent. |
|
inherited |
Calculates the generalized eigenvalue problem based on the zggev and dggev LAPACK functions.
| A | A square matrix on the left side. |
| B | A square matrix on the right side. |
|
staticinherited |
Throws an "iteration exceeded" warning.
|
inherited |
Retrives the structure containing the calculation parameters.
|
inherited |
Gets the name of the package.
|
inherited |
Gets the short name of the package.
|
inherited |
Gets the current version of the package.
|
staticinherited |
Inverts badly conditioned matrix A with SVD regularization.
| A | A square matrix to be inverted. |
|
inherited |
Checks whether the MKL component is deployed.
|
staticinherited |
Checks whether the running environment is matlab or octave.
| function Parallel::openPool | ( | ) |
Opens a parallel pool for parallel computations.
|
inherited |
Calculates a partial inverse of a sparse matrix.
If MKL component is not developed, the backslash operator is used insted.
| A | A sparse matrix to be inverted |
| sizeInv | The size of partial inverse to be calculated. |
|
staticinherited |
Simphson integral: y is a vector of function values at equal distant points: y_i = f(x_i), x_i-x_{i-1}=h.
| y | Function values to be integrated |
| h | Increment between the x_i points. |
|
inherited |
Function to load XML files (based on xerces libraries), providing octave compatibility.
| filename | Absolute path to the file to be opened. (In matlab relative path is sufficient) |
|
inherited |
Function to export XML files (based on xerces libraries), providing octave compatibility.
| filename | Absolute path to the file to be opened. (In matlab relative path is sufficient) |
| DOM | The loaded document object model (see http://www.mathworks.com/help/matlab/ref/xmlread.html#outputarg_DOMnode for details.) |
|
protectedinherited |
True if MKL component is built, false otherwise.
Definition at line 32 of file CommonFunctions.m.
|
protectedinherited |
Maximal size of full matrixes to be handled.
Definition at line 44 of file CommonFunctions.m.
| Property Parallel::NumWorkers |
Number of workers.
Definition at line 49 of file Parallel.m.
|
protectedinherited |
An instance of structure Opt.
Definition at line 31 of file Messages.m.
|
protected |
The parallel.Pool object, see the documentation for more details.
Definition at line 34 of file Parallel.m.
|
protectedinherited |
Name of the package.
Definition at line 38 of file CommonFunctions.m.
|
protectedinherited |
Short name of the package.
Definition at line 41 of file CommonFunctions.m.
|
protected |
Number of attempts to open the parallel pool.
Definition at line 37 of file Parallel.m.
|
protected |
Maximal number of attemts to open the parallel pool.
Definition at line 40 of file Parallel.m.
|
protectedinherited |
The current version of the package.
Definition at line 35 of file CommonFunctions.m.
|
protected |
A period to wait between the attempts to open the parallel pool.
Definition at line 43 of file Parallel.m.
1.8.16