Sponsored links: Algebra eBooks
 

Related

row-solve-subst

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

wyn: solve(row,t);

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

Calculate

row-solve

uk_row: [ x1-2*x2+3*x...

solve (uk_row, [x1, x...

Calculate

row-solve

uk_row: [ 3*x1+x2-2*x...

solve (uk_row, [x1,x2...

Calculate

row-solve

ukl_row:[2*x+3*y-z=-1...

solve(ukl_row, [x,y,z]);

Calculate

row-solve

uk_row:[2*x1+3*x2-2*x...

solve (uk_row,[x1,x2,...

Calculate

row-solve

uk_row:[2*x1+3*x2-2*x...

solve(uk_row,[x1, x2,...

Calculate

row-solve

row: 4*x^2-2*x-30=0;

solve(row, x);

Calculate

row-solve

uk_row: [x1+1+x2=5, x...

solve(uk_row, [x1, x2]);

Calculate

row-solve

uk_row: [ 2*x+3*y-2=1...

solve (uk_row, [x,y,z]);

Calculate

row-solve

uk_row: [ 2*x+3*y-2=1...

solve (uk_row, [x,y,z]);

Calculate

row

Run Example
(%i1)uk_row: [x1-2*x2+3*x3-x4=-2, 3*x1+x2-x3+2*x4=9, -3*x1-2*x2+x3+2*x4=-13, 2*x1-2*x2+x3-x4=5];
(%o1) [- x4 + 3 x3 - 2 x2 + x1 = - 2, 2 x4 - x3 + x2 + 3 x1 = 9, 
                   2 x4 + x3 - 2 x2 - 3 x1 = - 13, - x4 + x3 - 2 x2 + 2 x1 = 5]
(%i2) solve(uk_row, [x1, x2, x3, x4]);
(%o2)               [[x1 = 3, x2 = 0, x3 = - 2, x4 = - 1]]
(%i3) 
Run Example
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) 
[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] [determinant,row,solve] [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] [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] [row]

Related Help

Help for Row