Sponsored links: Algebra eBooks
 

Related

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

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

n : length(a);

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

Calculate

col-exp-invert-matrix-psi-radcan-sqrt-transpose

dr_dw: matrix([-1, -0...

dphi_dw: matrix([1, -...

psi: radcan(invert(tr...

Calculate

col-expand-matrix-powerdisp-true

powerdisp:true;

A:matrix([0,2,0],[0,0...

B:matrix([2,3],[0,2],...

Calculate

col-echelon-length-matrix

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

echelon(a);

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

Calculate

col-echelon-length-matrix

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

b:a;

n:length( a );

Calculate

col-error-load-matrix-rhs

load(lsquares);

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

ti:22;

Calculate

col-matrix-rank

m: matrix([1,2,3],[0,...

rank(m);

col(m,3);

Calculate

col-matrix-row-transpose

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

A[1];

row(A,1);

Calculate

col-matrix-row

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

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

col(a,3);

Calculate

col

Run Example
(%i1)r:15;
(%o1)                                 15
(%i2)  n1:5;
(%o2)                                  5
(%i3)  n2:3;
(%o3)                                  3
(%i4) v:[1,1,1];
(%o4)                              [1, 1, 1]
(%i5) norm(x):=sqrt(x.x);
(%o5)                       norm(x) := sqrt(x . x)
(%i6) for i:1 thru n1 do  (a[i,j]:=random(r),   A:genmatrix(a,n2,n2),   c:[row(A,1).v], d:[transpose(col(A,1)).v], kill(a));
(%o6)                                done
(%i7)  c;
(%o7)                                [28]
(%i8) d;
(%o8)                                [21]
(%i9) 
Run Example
A:matrix([3,4,5],[2,1,0],[3,6,7]);
                                  [ 3  4  5 ]
                                  [         ]
(%o1)                             [ 2  1  0 ]
                                  [         ]
                                  [ 3  6  7 ]
(%i2) A[1];
(%o2)                              [3, 4, 5]
(%i3) row(A,1);
(%o3)                             [ 3  4  5 ]
(%i4) col(A,1);
                                     [ 3 ]
                                     [   ]
(%o4)                                [ 2 ]
                                     [   ]
                                     [ 3 ]
(%i5) A[1,1]:-1;
(%o5)                                 - 1
(%i6) A;
                                 [ - 1  4  5 ]
                                 [           ]
(%o6)                            [  2   1  0 ]
                                 [           ]
                                 [  3   6  7 ]
(%i7) A[2]:[2,2,2];
(%o7)                              [2, 2, 2]
(%i8) A;
                                 [ - 1  4  5 ]
                                 [           ]
(%o8)                            [  2   2  2 ]
                                 [           ]
                                 [  3   6  7 ]
(%i9) transpose(A);
                                 [ - 1  2  3 ]
                                 [           ]
(%o9)                            [  4   2  6 ]
                                 [           ]
                                 [  5   2  7 ]
(%i10)  At:transpose(A);
                                 [ - 1  2  3 ]
                                 [           ]
(%o10)                           [  4   2  6 ]
                                 [           ]
                                 [  5   2  7 ]
(%i11)  A.A;
                                [ 24  34  38 ]
                                [            ]
(%o11)                          [ 8   24  28 ]
                                [            ]
                                [ 30  66  76 ]
(%i12) A*A;
                                 [ 1  16  25 ]
                                 [           ]
(%o12)                           [ 4  4   4  ]
                                 [           ]
                                 [ 9  36  49 ]
(%i13) B:A;
                                 [ - 1  4  5 ]
                                 [           ]
(%o13)                           [  2   2  2 ]
                                 [           ]
                                 [  3   6  7 ]
(%i14) A[1,1]:5;
(%o14)                                 5
(%i15) B;
                                  [ 5  4  5 ]
                                  [         ]
(%o15)                            [ 2  2  2 ]
                                  [         ]
                                  [ 3  6  7 ]
(%i16) B:copymatrix(A);
                                  [ 5  4  5 ]
                                  [         ]
(%o16)                            [ 2  2  2 ]
                                  [         ]
                                  [ 3  6  7 ]
(%i17) A[1,1]:3;
(%o17)                                 3
(%i18) B;
                                  [ 5  4  5 ]
                                  [         ]
(%o18)                            [ 2  2  2 ]
                                  [         ]
                                  [ 3  6  7 ]
(%i19) 
Run Example
m:[[1,2],[3,4]];
(%o1)                          [[1, 2], [3, 4]]
(%i2) col(m,2);
(%o2)                             [ [3, 4] ]
(%i3) 
[abs,and,block,col,copy,create_list,fpprintprec,genmatrix,ident,invert,kill,length,lmax,makelist,matrix_size,random,submatrix,sum,while] [abs,and,block,col,copy,fpprintprec,genmatrix,ident,invert,length,lmax,makelist,matrix_size,random,submatrix,sum,while] [abs,append,col,exp,invert,matrix,psi,radcan,submatrix,transpose] [addcol,addrow,block,col,do,length,matrix,matrixp,rest,row,transpose] [addcol,col,define,diff,do,eigenvectors,exp,ident,invert,matrix,nullity,nullspace,ratsimp] [addcol,col,define,diff,do,eigenvectors,exp,ident,matrix,nullity,nullspace] [addrow,col,error,first,length,load,matrix,rhs,transpose] [addrow,col,error,load,matrix,rhs] [addrow,col,invert,matrix,transpose] [append,block,col,do,equal,genmatrix,if,matrixmap,mod,quotient,transpose] [append,block,col,do,genmatrix,if,matrixmap,member,mod,quotient,transpose] [append,block,col,do,genmatrix,if,matrixmap,mod,quotient,transpose] [append,col,do,endcons,genmatrix,kill,print,random,row,sqrt,transpose] [append,col,exp,invert,matrix,psi,radcan,sqrt,transpose] [append,col,exp,invert,matrix,psi,radcan,submatrix,transpose] [append,col,exp,invert,matrix,radcan,submatrix,transpose] [apply,args,block,col,copymatrix,do,genmatrix,map,mod,quotient,return,transpose] [apply,args,ceiling,col,do,length,mod,nullspace,print,row] [apply,args,ceiling,col,do,length,mod,nullspace,printf,row] [augcoefmatrix,coefmatrix,col,load,matrix,simpsum,sum] [binomial,col,do,if,makelist,plot2d,printf,row] [block,col,do,genmatrix,if,matrixmap,mod,quotient,transpose] [ceiling,col,do,endcons,float,genmatrix,kill,makelist,min,permanent,print,random,row,sort,sqrt,transpose] [col,cons,endcons,genmatrix,kill,min,permanent,print,random,row,sort,sqrt,transpose] [col,copymatrix,matrix,row,transpose] [col,cos,matrix,simp,sin,true] [col,create_list,makelist,matrix,member,part,random,row,submatrix] [col,display,do,row] [col,display,do] [col,distrib,load] [col,do,endcons,genmatrix,kill,print,random,row,sqrt,transpose] [col,do,genmatrix,kill,random,row,sqrt,transpose] [col,echelon,length,matrix] [col,echelon,matrix,rowop] [col,error,eval,load,matrix] [col,error,load,matrix,rhs] [col,exp,invert,matrix,psi,radcan,sqrt,transpose] [col,expand,kill,matrix,powerdisp,true] [col,genmatrix,min,numer,permanent,print,random,row,sort,sqrt,transpose] [col,genmatrix,min,numer,permanent,random,row,sort,sqrt,transpose] [col,genmatrix,transpose] [col,length,matrix,matrixp,op,part] [col,length,matrix,matrixp,rest,row,transpose] [col,length,matrix,op,part] [col,length,matrix,rest,row,transpose] [col,length,matrix,rest] [col,matrix,rank,triangularize] [col,matrix,row,transpose] [col,matrix,row] [col,matrix]

Related Help

Help for Col