1Function: alginv 2Section: algebras 3C-Name: alginv 4Prototype: GG 5Help: alginv(al,x): element 1/x in al. 6Doc: Given an element $x$ in \var{al}, computes its inverse $x^{-1}$ in the 7 algebra \var{al}. Assumes that $x$ is invertible. 8 \bprog 9 ? A = alginit(nfinit(y), [-1,-1]); 10 ? alginv(A,[1,1,0,0]~) 11 %2 = [1/2, 1/2, 0, 0]~ 12 @eprog 13 14 Also accepts matrices with coefficients in \var{al}. 15