Sponsored links: Algebra eBooks
 

Related

array-arrayinfo-listarray

array (P,3,1);

arrayinfo (P);

i:1;

Calculate

array-arrayinfo-listarray

array (P,3,1);

arrayinfo (P);

i:1;

Calculate

array-arrayinfo-listarray

array (P,3,1);

arrayinfo (P);

i:1;

Calculate

array-arrayinfo-listarray-pi

array (aa, 2, 3);

aa [2, 3] : %pi;

aa [1, 2] : %e;

Calculate

array-arrayinfo-listarray

m : 2;

array(a, m, 1);

a [0,0] : 1;

Calculate

array-arrayinfo-listarray

array (P,3,1);

arrayinfo (P);

P[0,0] : 1;

Calculate

array-arrayinfo-listarray

m : 2;

array(a, m, 1);

a [0,0] : 1;

Calculate

array-arrayinfo-listarray

array (P,3,1);

arrayinfo (P);

i:1;

Calculate

array-arrayinfo-listarray-pi

array (aa, 2, 3);

aa [2, 3] : %pi;

aa [1, 2] : %e;

Calculate

array-arrayinfo-listarray-pi

array (aa, 2, 3);

aa [2, 3] : %pi;

aa [1, 2] : %e;

Calculate

[array,arrayinfo,listarray]

Run Example
(%i1)m : 2;
(%o1)                                  2
(%i2) array(a, m, 1);
(%o2)                                  a
(%i3) a [0,0] : 1;
(%o3)                                  1
(%i4) a [0,1] : 5;
(%o4)                                  5
(%i5) a [1,0] : 1;
(%o5)                                  1
(%i6) a [1,1] : 5;
(%o6)                                  5
(%i7) a [2,0] : 1;
(%o7)                                  1
(%i8) a [2,1] : 3;
(%o8)                                  3
(%i9) b : 1;
(%o9)                                  1
(%i10) for i: 1 unless i >
 m do b : b * (a [i,1] - a [i,0] + 1);
(%o10)                               done
(%i11) j;
(%o11)                                 j
(%i12) arrayinfo(a);
(%o12)                       [declared, 2, [2, 1]]
(%i13) listarray(a);
(%o13)                        [1, 5, 1, 5, 1, 3]
(%i14) 
Run Example
array (P,3,1);
(%o1)                                  P
(%i2) arrayinfo (P);
(%o2)                        [declared, 2, [3, 1]]
(%i3) i:1;
(%o3)                                  1
(%i4) j:1;
(%o4)                                  1
(%i5) P[1,j] : 8;
(%o5)                                  8
(%i6) P[0,0] : 1;
(%o6)                                  1
(%i7) P[0,1] : 1;
(%o7)                                  1
(%i8) P[1,0] : 1;
(%o8)                                  1
(%i9) P[2,0] : 5;
(%o9)                                  5
(%i10) P[2,1] : 3;
(%o10)                                 3
(%i11) P[3,0] : 5;
(%o11)                                 5
(%i12) P[3,1] : 1;
(%o12)                                 1
(%i13) listarray (P);
(%o13)                     [1, 1, 1, 8, 5, 3, 5, 1]
(%i14) Q:Plistarray (Q);
(%o14)                           Plistarray(Q)
(%i15) 
Run Example
array (P,3,1);
(%o1)                                  P
(%i2) arrayinfo (P);
(%o2)                        [declared, 2, [3, 1]]
(%i3) P[0,0] : 1;
(%o3)                                  1
(%i4) P[0,1] : 1;
(%o4)                                  1
(%i5) P[1,0] : 1;
(%o5)                                  1
(%i6) P[1,1] : 3;
(%o6)                                  3
(%i7) P[2,0] : 5;
(%o7)                                  5
(%i8) P[2,1] : 3;
(%o8)                                  3
(%i9) P[3,0] : 5;
(%o9)                                  5
(%i10) P[3,1] : 1;
(%o10)                                 1
(%i11) listarray (P);
(%o11)                     [1, 1, 1, 3, 5, 3, 5, 1]
(%i12) arrayinfo (P);
(%o12)                       [declared, 2, [3, 1]]
(%i13) 
[abs,array,do,if,listarray,plot2d,sin] [apply,array,ev,kill,listarray,load,matrix,plot2d] [array,arrayinfo,listarray,pi] [array,arrayinfo,listarray] [array,arrayinfo] [array,bfloat,block,exp,fpprec,if,log,print] [array,bfloat,cos,do,load,print] [array,block,cos,floor,mod,random,sin,subst] [array,block,distrib,exp,float,load,log,random_normal,sqrt] [array,block,float,listarray,make_random_state,plot2d,print,set_random_state,true] [array,block,float,listarray,make_random_state,plot2d,print,set_random_state] [array,block,float,listarray,plot2d,print,random] [array,block,round] [array,charat,concat,kill,listarray,random] [array,charlist,cint,debugmode,do,listarray,make_array,slength,true] [array,coeff,conjugate,divide,expand,factor,genmatrix,listarray,matrix,remainder] [array,coeff,conjugate,genmatrix,listarray,matrix] [array,cos,do,load,print] [array,cos,do,load] [array,cos,random,sin] [array,denom,do,ratsimp] [array,determinant,diff,exp,invert,matrix,sin,sum] [array,determinant,exp,invert,matrix,sin] [array,diff,kill,limit,ratexpand,solve,sum] [array,diff,kill,limit,solve,sum] [array,diff,kill,ratexpand,solve,sum] [array,diff,kill,ratexpand,sum] [array,diff,print,subst] [array,diff,subst] [array,disp,do,ratsimp] [array,disp,do] [array,display,do,floor,make_array] [array,display] [array,display2d,expand,false,plot2d] [array,distrib,load,random_normal] [array,do,if,listarray,plot2d,sin] [array,do,if,listarray,plot2d] [array,expand,plot2d] [array,fillarray,listarray] [array,genmatrix,listarray,matrix] [array,if] [array,linsolve,listarray,matrix,nullspace,print,random] [array,listarray,matrix] [array,listarray,pi] [array,listarray,random] [array,listarray] [array] [arrayinfo,block,cons,if,sort] [arrayinfo,block,if,sort,subvar] [arrayinfo,block,if,sort]

Related Help

Help for Array

Help for Arrayinfo

Help for Listarray