Skip to content

slight inconsistency in <Factorize>( <logical matrix> )

1 message · Martin Maechler

#
We have a very slight inconsistency in the treatment of logical
matrices with our three major factorizations:

qr() coerces to numeric , whereas
svd() and eigen() give an error.

I'm proposing to change  svd() and eigen() such that they also
treat a logical matrix as if it was 0-1 ,  analogously to all
other arithmetic operations.

Martin Maechler, R Core Team & ETH Zurich