From tlumley@u.washington.edu  Wed May 30 20:46:04 2001
From: tlumley@u.washington.edu (Thomas Lumley)
Date: Wed, 30 May 2001 12:46:04 -0700 (PDT)
Subject: [Rd] zero-extent matrices (PR#958)
In-Reply-To: <Pine.A41.4.33.0105301230000.130198-100000@homer40.u.washington.edu>
Message-ID: <Pine.A41.4.33.0105301244450.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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] zero-extent matrices (PR#958)
Thomas Lumley