| To: | s-news@wubios.wustl.edu |
|---|---|
| Subject: | [S] Short summary: Loop avoiding |
| From: | Statistik Mail <statsoft@stat.math.ethz.ch> |
| Date: | Wed, 29 Jul 1998 21:33:20 +0200 |
| Sender: | owner-s-news@wubios.wustl.edu |
Thanks to Peter Perkins and Dave Krantz I got an easy answer to my question on how to efficiently evaluate > max(diag(A%*%B)) The answer is > max(rep(1, nrow(B)) %*% (t(A)*B)) Thanks again for the fast postings! Marcel Wolbers ----------------------------------------------------------------------- This message was distributed by s-news@wubios.wustl.edu. To unsubscribe send e-mail to s-news-request@wubios.wustl.edu with the BODY of the message: unsubscribe s-news |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [S] Loop avoiding, Marcel Wolbers |
|---|---|
| Next by Date: | Re: [S] Loop avoiding, Franz-Josef Mueter |
| Previous by Thread: | [S] Loop avoiding, Marcel Wolbers |
| Next by Thread: | [S] C routines for random values, Bob Dorazio |
| Indexes: | [Date] [Thread] [Top] [All Lists] |