Andrei Bobrov

30 Reputation

3 Badges

12 years, 44 days

MaplePrimes Activity


These are replies submitted by Andrei Bobrov

@Carl Love Thank you Carl! (I more matlaber)

@Carl Love Thank you Carl! (I more matlaber)

numerical example:

restart: with~([LinearAlgebra,MTM]):

tau := Matrix(10,[$(5 .. 104)]);
sigma:=Matrix(10,[$(1..100)]);
G1 := RandomVector[column](10,generator = 4 .. 20);
G2 := RandomVector[column](10,generator = 10 .. 30);
out := sum(Kn~(sigma*~<seq(G1^+,i = 1..size(sigma,1))>+ tau*~<seq(G2^+,i = 1..size(tau,1))>),2);

 

numerical example:

restart: with~([LinearAlgebra,MTM]):

tau := Matrix(10,[$(5 .. 104)]);
sigma:=Matrix(10,[$(1..100)]);
G1 := RandomVector[column](10,generator = 4 .. 20);
G2 := RandomVector[column](10,generator = 10 .. 30);
out := sum(Kn~(sigma*~<seq(G1^+,i = 1..size(sigma,1))>+ tau*~<seq(G2^+,i = 1..size(tau,1))>),2);

 

restart: with(MTM):

g1 := Vector[column](5,symbol=G1):
g2 := Vector[column](5,symbol=G2):
Tau := Matrix(5,symbol=tau):
Sigma := Matrix(5,symbol=sigma):
out := sum(Kn~(Sigma*~<seq(g1^+,i = 1..5)>+ Tau*~<seq(g2^+,i = 1..5)>),2);

restart: with(MTM):

g1 := Vector[column](5,symbol=G1):
g2 := Vector[column](5,symbol=G2):
Tau := Matrix(5,symbol=tau):
Sigma := Matrix(5,symbol=sigma):
out := sum(Kn~(Sigma*~<seq(g1^+,i = 1..5)>+ Tau*~<seq(g2^+,i = 1..5)>),2);

Page 1 of 1