s-news
[Top] [All Lists]

product of matrices over subscript

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>
  • product of matrices over subscript, Vumani Dlamini <=