| To: | s-news@lists.biostat.wustl.edu |
|---|---|
| Subject: | product of matrices over subscript |
| From: | "Vumani Dlamini" <dvumani@hotmail.com> |
| Date: | Thu, 30 Nov 2000 14:50:11 -0000 |
I would like to write a short s+ program to perform the following
operations.
I have two matrices: P[i,k] and X[i,s] Sum over i of P[i,k]=1 Define P[i,] and row i of P written as a column, and X[i,] as the i-th row of X written as a column. I would like to: Sum over i of the kronecker product of P[i,] and X[i,] and Sum over i of the kronecker product of P[i,]%*%P[i,] and X[i,] Thanking you in advance. Vumani Dlamini _____________________________________________________________________________________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Columns of data.frame ..., Patrick Connolly |
|---|---|
| Next by Date: | SPLUS: removing row labels, useful looking output, Health Maps |
| Previous by Thread: | AI+Stat 2001, Jan 4-7, Key West: Early Reg. Deadline - Friday Dec 1, Thomas Richardson |
| Next by Thread: | Applied Statistics Conference-Postponed, BALCH, ALFRED H [PHR/1005] |
| Indexes: | [Date] [Thread] [Top] [All Lists] |