s-news
[Top] [All Lists]

[no subject]

From: owner-s-news@wubios.wustl.edu
Date: Fri, 30 Apr 1999 09:52:37 -0500 (CDT)
-0500 (CDT)
Message-ID: <3729B744.29F9CC40@gis.umn.edu> 
Date: Fri, 30 Apr 1999 08:59:32 -0500
From: Steve Friedman <friedman@gis.umn.edu>
Organization: Dept. of Forest Resources, University of Minnesota 
X-Mailer: Mozilla 4.05 [en] (WinNT; I)
MIME-Version: 1.0
To: s-news@wubios.wustl.edu
Subject: [S] Summary: matrix element multiplication 
Content-Type: text/plain; charset=us-ascii 
Content-Transfer-Encoding: 7bit
Oh the wonderful world of Splus, and the folks who subscribe.
the most direct approach is to use the function col() to do this.
if X is an N x M matrix
X.prod <- X * col(X)
As one contributor said "It's easy once you know how" 
Thanks to all
Steve
Sender: owner-s-news@wubios.wustl.edu
Precedence: bulk
X-loop: s-news


-----------------------------------------------------------------------
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>
  • [no subject], owner-s-news <=