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:

Col

Function: col (<M>, <i>) Returns the <i>th column of the matrix <M>. The return value is a matrix.

a:matrix([1,1,2],[2,3,5]);
b:a;
n:length( a );
b[1];
for i:1 step 1 thru n do for j:i step 1 thru n do block([],b[i], b[i]:b[i]/b[i,i], if j < n then b[j+1]: b[j+1]-b[i]*b[j+1,i]);
b;
echelon(a);
x:col(b,length(a)+1);

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

(%o1)                                true
(%i2) 

Related Examples

col-length-matrix-matrixp-rest-row-transpose

a : matrix([-3, 4, 5,...

n : length(a);

t : matrix([1/a[1, 1]]);

Calculate

col-length-matrix-matrixp-rest-row-transpose

a : matrix([-3, 4, 5,...

n : length(a);

t : matrix([1/a[1, 1]]);

Calculate

col-echelon-length-matrix

a:matrix([1,1,2],[3,2...

b:echelon(a);

x:col(b,length(a)+1);

Calculate

col-error-load-matrix-rhs

load(lsquares);

D: matrix( [3.2, 12,...

ti:22;

Calculate

col-genmatrix-transpose

n : 4;

W : genmatrix(w,n,n);

W[1];

Calculate

col-copymatrix-matrix-row-transpose

A:matrix([3,4,5],[2,1...

A[1];

row(A,1);

Calculate

col-distrib-load

load(distrib);

load(descriptive);

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

Calculate