Scilab Reference Manual |
---|
trisolve — symbolic linear system solver
[x [,sexp]] = trisolve(A,b [,sexp])
symbolically solves A*x =b , A being assumed to be upper triangular.
sexp is a vector of common subexpressions in A, b, x.
A=['x','y';'0','z'];b=['0';'1']; w=trisolve(A,b) x=5;y=2;z=4; evstr(w) inv(evstr(A))*evstr(b)
F.D, S.S
<< tril | triu >> |