Subject: symbolic matrices
Date: 29 Aug 90 13:52:14 GMT
Organization: Helsinki University of Technology, FINLAND

Lines: 175

Here's a prog that I converted into 48sx format. I'm sure some of you
have seen it before. This copy should be free from typos. However, if
problems occur try to reach LOZAN (I don't have his complete address)
and please post the revised version!


       SYMBOLIC MATRICES by Eliel Louzoun <LOZAN@TAUNOS>
       -----------------
 This is a set of programs which handle symbolic matrices for the hp48sx.
 The matrices are entered as a list, for example {{A B }{ C D }}. This package
 contains programs for determinant,inverse of matrices,eigen values,
 multiplication of matrices & multiplication by a scalar.
 Bugs: The eigenvalue program works only if the values are all real.

Die Einzelprogramme in dem Directory:

INV         Compute the inverse of the matrix in level 1.
            The  output is 2: B (a matrix)
                           1: C (an algebraic expression)
            where inv(A) = B / C .
            This program use the cramer rule to compute the inverse.


MMUL        matrices multiplication
            input 2: A
                  1: B
            output 1: A*B

SCHMUL      scalar multiplication program
            input  2: scalar
                   1: matrix
            output 1: matrix = scalar * matrix

DIVP        eliminate one real root from polynom
            input  3: a polynom in S [P(S)]
                   2: the degree of this polynom
                   1: the root we want to eliminate [a]
            output 1: P(S)/(S-a)


EIGF        This program returns the eigen function of a given matrix

ADD         sum of two matrices
            input  2: A (matrix)
                   1: B (matrix)
            output 1: A + B

SIDN        This program return an identity matrix multiplied by a scalar
            input  1: size (scalar)
                   2: const (algbraic object)
            output 1: const * I

EIGV        returns the eigenvalues of a matrix


Per Stenius, Helsinki Univ. of Technology, Dept. of E.E.
perre@aplac.hut.fi


