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

Thomas Lumley tlumley@u.washington.edu
Wed, 30 May 2001 12:46:04 -0700 (PDT)


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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._