Solving matrix equations?



El s?b, 04-05-2013 a las 11:12 +1000, Alasdair McAndrew escribi?:
> Given an n x n matrix A, and an n x 1 matrix b, is there a way of
> solving
> 
> 
> Ax = b
> 
> 
> other than invert(A).b?

A : matrix([1,4],[7,4]);
B : [1,5];
linsolve_by_lu(A,B);




> 
> 
> If I could append b to A, then I could apply "echelon" to the
> augmented matrix.  However, I can't find a command which allows me to
> append, or stack matrices.
> 

addcol(A,B);


> 
> Thanks,
> Alasdair


--
Mario