SCM Repository

[matrix] Diff of /pkg/Matrix/man/boolean-matprod.Rd
 [matrix] / pkg / Matrix / man / boolean-matprod.Rd

Diff of /pkg/Matrix/man/boolean-matprod.Rd

revision 3072, Fri Mar 27 15:10:48 2015 UTC revision 3079, Tue Mar 31 15:29:43 2015 UTC
# Line 95  Line 95
95            all(L \%&\% D == as((L \%*\% abs(D)) > 0, "sparseMatrix")))            all(L \%&\% D == as((L \%*\% abs(D)) > 0, "sparseMatrix")))
96  crossprod(N)     # -> sparse patter'n' (TRUE/FALSE : boolean arithmetic)  crossprod(N)     # -> sparse patter'n' (TRUE/FALSE : boolean arithmetic)
97  crossprod(N  +0) # -> numeric Matrix (with same "pattern")  crossprod(N  +0) # -> numeric Matrix (with same "pattern")
98  stopifnot(all(crossprod(N) == t(N) \%&\% N))  stopifnot(all(crossprod(N) == t(N) \%&\% N),
99  crossprod(D, boolArith =  TRUE) # <- currently with warning "... not yet implemented":            identical(crossprod(N), crossprod(N +0, boolArith=TRUE)),
100  crossprod(L, boolArith =  TRUE) # pattern: "nsCMatrix"            identical(crossprod(L), crossprod(N   , boolArith=FALSE)))
101    crossprod(D, boolArith =  TRUE) # pattern: "nsCMatrix"
102    crossprod(L, boolArith =  TRUE) #  ditto
103  crossprod(L, boolArith = FALSE) # numeric: "dsCMatrix"  crossprod(L, boolArith = FALSE) # numeric: "dsCMatrix"
104  }  }
105  \keyword{methods}  \keyword{methods}

Legend:
 Removed from v.3072 changed lines Added in v.3079