MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Multiply a constant to a matrix column

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16331] Re: Multiply a constant to a matrix column
  • From: "Gianluca Cruciani" <giancruc at tin.it>
  • Date: Sun, 7 Mar 1999 01:05:50 -0500
  • Organization: TIN
  • References: <7bo0gg$dop@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Example of multiplication by k of the i-th column of a
matrix M(m,n):

m=1000;n=3;i=2;
M=Table[a[h,j],{h,m},{j,n}];

A=IdentityMatrix[n];A[[i,i]]=k;

NewM=Transpose[A.Transpose[M]]





  • Prev by Date: Bug in Coefficient[ ]
  • Next by Date: Re: Ploting 2 Lists
  • Previous by thread: Re: Multiply a constant to a matrix column
  • Next by thread: Re: Multiply a constant to a matrix column