#include <hbf.h>
Public Methods | |
| HBF () | |
| Empty constructor. More... | |
| void | create (const int d, const int n) |
| Full constructor with input parameters. More... | |
| ~HBF () | |
| Destructor. More... | |
| int | size () const |
| Give the non-zero values number of matrix. More... | |
| int | order () const |
| Give the dimension of matrix. More... | |
| psi_type | type () const |
| Give the current model type. More... | |
| double | maxi () const |
| Give the largest element (in modulo) of continuous time matrix. More... | |
| bool | is_empty () const |
| Test if a current HBF structure exists. More... | |
| double | val (const int i) const |
| Give the ith non-zero value of matrix. More... | |
| int | col (const int i) const |
| Give the ith column index. More... | |
| int | row (const int i) const |
| Give the ith row beginning index of matrix. More... | |
| int | valbyrow (const int i) const |
| Give the non-null values number of the ith row. More... | |
| int | zero_or_one () |
| Test the numerotation of input model. More... | |
| void | update () |
| Transformation of HBF numerotation. More... | |
| void | read_hbf_r (const psi_name path) |
| Reading of a 'row' HBF model. More... | |
| void | read_marca (const psi_name path) |
| Reading of a MARCA model. More... | |
| void | read_hbf_c (const psi_name path) |
| Reading of a PEPS model. More... | |
| void | uniformization () |
| Uniformization of a continuous time model. More... | |
| void | write_unif (const psi_name file) |
| Writing of a unif file in HBF (classical) format. More... | |
| void | col2row () |
| Conversion of a column HBF model to a row HBF model. More... | |
| void | convert () |
| Writing of a col2row() conversion. More... | |
| void | scale (const double d) |
| Multiplication of matrix by a double input value. More... | |
| void | give_a_name (const psi_name file) |
| Baptise HBF storage. More... | |
| psi_name | name () const |
| Give the current model's name. More... | |
| int | out_degree () const |
| Give the maximum out_degree of matrix. More... | |
| void | transform (const int d) |
| Width transformation of matrix. More... | |
Static Public Attributes | |
| HBF | hbf = HBF() |
Private Attributes | |
| psi_name | model_name |
| psi_type | model_type |
| int | dimension |
| int | nz_number |
| vector< double > | Val |
| vector< int > | Col |
| vector< int > | Row |
| vector< int > | ValbyRow |
| double | biggest |
There exists three possibilities to import a matrix :
|
|
Empty constructor.
|
|
|
Destructor.
|
|
|
Give the ith column index.
|
|
|
Conversion of a column HBF model to a row HBF model.
|
|
|
Writing of a col2row() conversion.
|
|
||||||||||||
|
Full constructor with input parameters.
|
|
|
Baptise HBF storage.
|
|
|
Test if a current HBF structure exists.
|
|
|
Give the largest element (in modulo) of continuous time matrix.
|
|
|
Give the current model's name.
|
|
|
Give the dimension of matrix.
|
|
|
Give the maximum out_degree of matrix.
|
|
|
Reading of a PEPS model.
|
|
|
Reading of a 'row' HBF model.
|
|
|
Reading of a MARCA model.
|
|
|
Give the ith row beginning index of matrix.
|
|
|
Multiplication of matrix by a double input value.
|
|
|
Give the non-zero values number of matrix.
|
|
|
Width transformation of matrix.
|
|
|
Give the current model type. PSI accepts discrete and continuous time model. |
|
|
Uniformization of a continuous time model.
|
|
|
Transformation of HBF numerotation. PSI numerotation begin from zero and so needs a modification for models started from one. |
|
|
Give the ith non-zero value of matrix.
|
|
|
Give the non-null values number of the ith row.
|
|
|
Writing of a unif file in HBF (classical) format.
|
|
|
Test the numerotation of input model. This method permit to the PSI user to construct his model with numerotation choice.
|
|
|
Largest element (in modulo) of the generator |
|
|
Storage of column indexes |
|
|
States number of the model |
|
|
|
|
|
Model's name |
|
|
Time type model |
|
|
Number of non zero elements of generator matrix |
|
|
Storage of row beginning |
|
|
Storage of non zero values |
|
|
Storage of the non-zero values number by row |
1.2.14 written by Dimitri van Heesch,
© 1997-2002