search for: cholmod_ssdmult

Displaying 3 results from an estimated 3 matches for "cholmod_ssdmult".

2015 Mar 19
6
RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices
...th the usual numeric arithmetic, and arithmetic in R where logical is coerced to integer (and that to "double") when certain numerical functions/operations are used. A more severe problem --- which I had not been aware of until relatively recently -- is the fact that the CHOLMD function cholmod_ssdmult(A, B) treats *both* A and B as "pattern" as soon as one of them is a (sparse) pattern matrix. And this is - I say - in clear contrast to what R users would expect: If you multiply a numeric with a "kind of logical" matrix (a pattern one), you will expect that the TRUE/FALSE matr...
2015 Mar 19
0
RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices
...c, and arithmetic in R where logical is > coerced to integer (and that to "double") when certain numerical > functions/operations are used. > > A more severe problem --- which I had not been aware of until > relatively recently -- is the fact that the CHOLMD function > cholmod_ssdmult(A, B) > treats *both* A and B as "pattern" as soon as one of them is a > (sparse) pattern matrix. > And this is - I say - in clear contrast to what R users would expect: > If you multiply a numeric with a "kind of logical" matrix (a pattern > one), you will expect...
2015 Mar 20
0
RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices
...ic, and arithmetic in R where logical is > coerced to integer (and that to "double") when certain numerical > functions/operations are used. > > A more severe problem --- which I had not been aware of until > relatively recently -- is the fact that the CHOLMD function > cholmod_ssdmult(A, B) > treats *both* A and B as "pattern" as soon as one of them is a > (sparse) pattern matrix. > And this is - I say - in clear contrast to what R users would expect: > If you multiply a numeric with a "kind of logical" matrix (a pattern > one), you will expect...