Rev 3265 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
20 | reyssat | 1 | !if $wims_read_parm!=slib_header |
2 | !goto proc |
||
3 | !endif |
||
4 | slib_title=The inverse of a square matrix |
||
5 | slib_parms=1\ |
||
6 | ,the input matrix |
||
7 | slib_author=Gang Xiao |
||
8 | slib_out=the inverse matrix (empty if error) |
||
9 | slib_example=1,0;6,1 |
||
10 | !exit |
||
11 | |||
12 | :proc |
||
13 | slib_mat=!declosing $wims_read_parm |
||
14 | !if $slib_mat=$empty |
||
15 | slib_out= |
||
16 | !else |
||
17 | slib_out=!exec pari print([$slib_mat]^-1) |
||
18 | !endif |
||
19 |