Skip to content
Prev 369682 / 398503 Next

Matrix multiplication

OK Thanks. Your response made me think. Here (the last line) is what I need:

set.seed(76543211)
w<-1:10; w
a<-matrix(rpois(20,2),nrow=10); a
t(w*a)%*%a
On 6/8/2017 12:09 PM, Jeff Newmiller wrote: