matrices and arrays loose dimension after multiplying with scalar (PR#1979)
Tue, 3 Sep 2002 18:01:25 +0200 (MET DST)

>>>>> "JensOe" == oehl list <>
>>>>>     on Tue, 3 Sep 2002 17:45:33 +0200 (MET DST) writes:

    JensOe> A matrix or array with one of its dimensions having
    JensOe> zero elements looses its dimension after multiplying
    JensOe> with scalar.  Admittedly this is an extreme case,
    JensOe> however it DOES make sense to retain an objects
    JensOe> formal structure after multiplying with a scalar, as
    JensOe> e.g. a matrix with zero rows IS a legal object in
    JensOe> S. BTW, the prototype does retain the dimension.

    JensOe> Best

Danke, Jens!

o still happens in R-devel (aka 1.6.0 "unstable") of today.

o yes, it's a bug  though not a high-priority one {and we are
  approaching deep feature freeze real soon now...}


r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: