Go to the source code of this file.
Typedefs | |
| using | complex_arithmetic = false |
Functions | |
| if (complex_arithmetic) id | |
| size(mat, 1), size(mat, 1) | speye () |
| 30 | ICNTL () |
| end diagonal values have been computed in | the (sparse) matrix id.SOL |
| end diagonal values have been computed in which has the same structure as id RHS Compare diagonal of inverse computed by Mumps and by matlab | disp (' ') |
| disp ('Computing 2-norm of error on diagonal of inverse:') | |
| norm (diag(diag(diag(inv(mat))) -id.SOL), 2) % destroy mumps instance id.JOB | |
Variables | |
| initialization of a matlab MUMPS structure | id = initmumps |
| end load | lhr01 |
| mat = Problem.A | |
| end | JOB |
| using complex_arithmetic = false |
Definition at line 4 of file diagainv_example.m.
| end diagonal values have been computed in which has the same structure as id RHS Compare diagonal of inverse computed by Mumps and by matlab disp | ( | ' ' | ) |
| disp | ( | 'Computing 2-norm of error on diagonal of inverse:' | ) |
| if | ( | complex_arithmetic | ) |
| end diagonal values have been computed in the | ( | sparse | ) |
| else id = initmumps |
Definition at line 7 of file diagainv_example.m.
| end JOB |
Definition at line 21 of file diagainv_example.m.
| end load lhr01 |
Definition at line 13 of file diagainv_example.m.
| if(complex_arithmetic) To test complex version mat = Problem.A |
Definition at line 14 of file diagainv_example.m.