Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Triangularize Calculator

Triangularize

Function: triangularize (<M>) Returns the upper triangular form of the matrix M, as produced by Gaussian elimination. The return value is the same as echelon, except that the leading nonzero coefficient in each row is not normalized to 1.

A:matrix([4,3,-2],[-1,-1,3],[2,-1,5]);
triangularize(A);

lu_factor and cholesky are other functions which yield triangularized matrices.

          (%i1) M: matrix ([3, 7, aa, bb], [-1, 8, 5, 2], [9, 2, 11, 4]);
                                 [  3   7  aa  bb ]
                                 [                ]
          (%o1)                  [ - 1  8  5   2  ]
                                 [                ]
                                 [  9   2  11  4  ]
          (%i2) triangularize (M);
                       [ - 1   8         5            2      ]
                       [                                     ]
          (%o2)        [  0   - 74     - 56         - 22     ]
                       [                                     ]
                       [  0    0    626 - 74 aa  238 - 74 bb ]

There are also some inexact matches for triangularize. Try ?? triangularize to see them.

(%o1)                                true
(%i2) 

Triangularize Example

Related Examples

triangularize

? triangularize;

Calculate

triangularize

triangularize([1,1,1,...

Calculate

triangularize

? triangularize;

Calculate

triangularize

triangularize ([3, 7,...

Calculate

triangularize

triangularize([1,0,0]...

Calculate

triangularize

triangularize([1,0,0]...

Calculate

triangularize

triangularize ([3, 7,...

Calculate

triangularize

triangularize([{10,9,...

Calculate

triangularize

triangularize ([3, 7,...

Calculate

triangularize

triangularize ([2+12*...

Calculate