Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.A41.4.33.0105301244450.130198-100000@homer40.u.washington.edu>
Date: 2001-05-30T19:46:04Z
From: Thomas Lumley
Subject: zero-extent matrices (PR#958)
In-Reply-To: <Pine.A41.4.33.0105301230000.130198-100000@homer40.u.washington.edu>

On Wed, 30 May 2001, Thomas Lumley wrote:
>
> Initially it will give zero. The two operands contain pointers to the R
> heap and the BLAS call is treating the objects pointed to as length 10 and
> length 1 respectively and multiplying whatever happens to be there.
> Initially this will be zeros.
>

Actually I was wrong about the reason: It doesn't call BLAS. The junk is
whatever was sitting in the piece of the vector heap where the return
value was allocated.

	-thomas


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._