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:

Matrixp

Function: matrixp (<expr>) Returns true if <expr> is a matrix, otherwise false.

a : matrix([-3, 4, 5, 4], [2, 3,-1, 1], [3, 5,-1, 2], [3,-1, 4, 1]);
n : length(a);
t : matrix([1/a[1, 1]]);
k :1;
u : rest(col(a, k + 1), k-n);
v : transpose(rest(transpose(row(a, k + 1)), k-n));
p : t.u;
if not(matrixp(p)) then p : matrix([p]);
w : v.t;
if not(matrixp(w)) then w : matrix([w]);
alpha : (a[k + 1, k + 1]-v.p);
(1/alpha)*p.w;
b : t + (1/alpha)*p.w;
r : -1/alpha*p;
q : -1/alpha*w;

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

(%o1)                                true
(%i2) 

Related Examples

matrixp

m:[[1,2],[3,4]];

matrixp(m);

Calculate

matrixp-minor

m: zeromatrix(2,2);

m: minor(m,2,2);

matrixp(m);

Calculate

matrixp

m:[[1,2],[3,4]];

matrixp(m);

Calculate

matrixp-minor

m: zeromatrix(2,2);

m: minor(m,2,2);

matrixp(m);

Calculate