Subversion Repositories wimsdev

Rev

Rev 20 | Rev 4158 | Go to most recent revision | Details | Compare with Previous | 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
3265 bpr 10
slib_require=pari
20 reyssat 11
!exit
12
 
13
:proc
14
slib_mat=!declosing $wims_read_parm
15
!if $slib_mat=$empty
16
 slib_out=
17
!else
18
 slib_out=!exec pari print([$slib_mat]^-1)
19
!endif
20