Sponsored links: Algebra eBooks
 

Related

row-solve

solve([Ir*dwr=Tr+1/(1...

Calculate

row-solve

solve([Ir*dwr=Tr+1/(1...

Calculate

row-solve

row: [(1-t)*x1+t*x2=0...

solve(row,t);

Calculate

row-solve-subst

row: [(1-t)*y1+t*y2=0];

wyn: solve(row,t);

subst(wyn,(1-t)*x1+t*...

Calculate

row-solve

solve(er=mr+((os-mr)*...

Calculate

row-solve

solve([Ir*dwr=Tr+1/(1...

Calculate

row-solve

solve([Ir*dwr=Tr+1/(1...

Calculate

row-solve

row: [(1-t)*y1+t*y2=0];

solve(row,t);

Calculate

row-solve

solve([Ir*dwr=Tr+1/(1...

solve(dwr=(row*(dwc*I...

Calculate

row

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
L:makelist(k^2,k,0,9);
(%o1)                [0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
(%i2) member(81,L);
(%o2)                                true
(%i3) create_list(random(10),m,0,5);
(%o3)                         [2, 2, 4, 5, 4, 1]
(%i4) part(L,[6,5,1]);
(%o4)                             [25, 16, 0]
(%i5) 'A=A:matrix([1,2,3,4],[5,6,7,8],[9,10,11,12]);
                                 [ 1  2   3   4  ]
                                 [               ]
(%o5)                        A = [ 5  6   7   8  ]
                                 [               ]
                                 [ 9  10  11  12 ]
(%i6) a1=row(A,1);
(%o6)                         a1 = [ 1  2  3  4 ]
(%i7) a[1]=col(A,2);
                                       [ 2  ]
                                       [    ]
(%o7)                             a  = [ 6  ]
                                   1   [    ]
                                       [ 10 ]
(%i8) 'A=submatrix(1,A);
                                 [ 5  6   7   8  ]
(%o8)                        A = [               ]
                                 [ 9  10  11  12 ]
(%i9) 'A2=submatrix(A,2);
                                   [ 1  3   4  ]
                                   [           ]
(%o9)                         A2 = [ 5  7   8  ]
                                   [           ]
                                   [ 9  11  12 ]
(%i10) 'A12=submatrix(1,A,2);
                                    [ 5  7   8  ]
(%o10)                        A12 = [           ]
                                    [ 9  11  12 ]
(%i11) f[i,j]:=2*i+3*j;
(%o11)                        f     := 2 i + 3 j
                               i, j
(%i12) B1=B1:genmatrix(f,4,3);
                                   [ 5   8   11 ]
                                   [            ]
                                   [ 7   10  13 ]
(%o12)                        B1 = [            ]
                                   [ 9   12  15 ]
                                   [            ]
                                   [ 11  14  17 ]
(%i13) 
[addcol,beta,coefmatrix,determinant,echelon,rank,row,transpose] [addcol,beta,coefmatrix,echelon,rank,row,transpose] [addrow,append,block,copylist,copymatrix,delete,error,expand,hipow,length,makelist,print,resultant,return,row,submatrix] [addrow,append,block,copylist,copymatrix,delete,error,hipow,length,makelist,print,resultant,return,row,submatrix] [algsys,exp,facsum,lhs,linsolve,matrix,rhs,row,subst] [append,col,do,endcons,genmatrix,kill,print,random,row,sqrt,transpose] [append,exp,invert,matrix,radcan,row,sqrt,transpose] [apply,args,ceiling,col,do,length,mod,nullspace,print,row] [apply,args,ceiling,col,do,length,mod,nullspace,printf,row] [beta,coefmatrix,echelon,rank,row,transpose] [beta,coefmatrix,echelon,rank,row] [binomial,col,do,if,makelist,plot2d,printf,row] [ceiling,col,do,endcons,float,genmatrix,kill,makelist,min,permanent,print,random,row,sort,sqrt,transpose] [ceiling,do,float,genmatrix,kill,makelist,ordergreatp,permanent,print,random,row,sort,sqrt,sum] [ceiling,do,float,genmatrix,kill,permanent,print,random,row,sqrt] [col,cons,endcons,genmatrix,kill,min,permanent,print,random,row,sort,sqrt,transpose] [col,copymatrix,matrix,row,transpose] [col,create_list,makelist,matrix,member,part,random,row,submatrix] [col,display,do,row] [col,do,endcons,genmatrix,kill,print,random,row,sqrt,transpose] [col,do,genmatrix,kill,random,row,sqrt,transpose] [col,genmatrix,min,numer,permanent,print,random,row,sort,sqrt,transpose] [col,genmatrix,min,numer,permanent,random,row,sort,sqrt,transpose] [col,length,matrix,matrixp,rest,row,transpose] [col,length,matrix,rest,row,transpose] [col,matrix,row,transpose] [col,matrix,row] [determinant,echelon,matrix,rank,row] [determinant,echelon,matrix,row] [do,first,genmatrix,kill,makelist,max,ordergreatp,permanent,permutations,print,random,rest,row,sort,sum] [do,first,genmatrix,kill,makelist,min,ordergreatp,permanent,permutations,print,random,rest,row,sort,sum] [do,genmatrix,kill,makelist,ordergreatp,permanent,print,random,row,sort,sum] [do,genmatrix,kill,makelist,print,random,row] [do,matrix,row,rowop] [echelon,genmatrix,lambda,random,row] [echelon,matrix,rank,row,transpose] [echelon,matrix,rank,row] [echelon,matrix,row,transpose] [echelon,matrix,row] [exp,facsum,lhs,linsolve,matrix,rhs,row,subst] [exp,lhs,linsolve,matrix,rhs,row,subst] [exp,lhs,linsolve,matrix,rhs,row] [exp,lhs,matrix,rhs,row,solve] [genmatrix,makelist,random,row,sort,sqrt] [genmatrix,numer,permanent,random,row,sqrt] [genmatrix,permanent,random,row,sqrt] [matrix,rank,row] [matrix,row,rowop] [matrix,row] [row,solve]

Related Help

Help for Row