| 1 |
useDynLib(SparseM, .registration = TRUE, .fixes = "f_") |
| 2 |
|
| 3 |
importFrom("utils", packageDescription) |
| 4 |
importFrom("graphics", "axis", "box", "image.default") |
| 5 |
importFrom("methods", as, is, kronecker, new, show, validObject) |
| 6 |
importFrom("stats", "coef", "coefficients", "fitted", "model.extract", |
| 7 |
"pf", "printCoefmat", "pt", "quantile", "residuals", |
| 8 |
"rnorm", "symnum", "weighted.residuals", "weights") |
| 9 |
|
| 10 |
export(is.matrix.csr, is.matrix.csc, is.matrix.ssr, is.matrix.ssc, is.matrix.coo, # (not generic) |
| 11 |
as.matrix.csr, as.matrix.csc, as.matrix.ssr, as.matrix.ssc, as.matrix.coo, # S4 generic |
| 12 |
as.matrix, |
| 13 |
det, forwardsolve, |
| 14 |
norm, |
| 15 |
read.matrix.hb, model.guess, model.xexact, |
| 16 |
rbind.matrix.csr, cbind.matrix.csr, |
| 17 |
Ops.matrix.csr, Ops.matrix.diag.csr, |
| 18 |
"[.matrix.csr", "[<-.matrix.csr", "[.matrix.diag.csr", |
| 19 |
slm, slm.fit, slm.wfit, slm.fit.csr, |
| 20 |
t, chol, coef.slm, fitted.slm, residuals.slm, deviance.slm, extractAIC.slm, |
| 21 |
summary.mslm, summary.slm, print.summary.slm, print.slm, |
| 22 |
"[<-.matrix.coo","[.matrix.coo") |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
## Exporting S4 classes |
| 27 |
exportClasses(matrix.csr, matrix.csc, matrix.ssr, matrix.ssc, matrix.coo, |
| 28 |
matrix.csr.chol, matrix.csc.hb, matrix.ssc.hb, matrix.diag.csr, |
| 29 |
mslm, slm, summary.slm) |
| 30 |
|
| 31 |
## Exporting S4 methods {*not* for S3 !} |
| 32 |
exportMethods(as.matrix.csr, as.matrix.csc, as.matrix.ssr, as.matrix.ssc, as.matrix.coo, |
| 33 |
as.matrix, t, dim, diff, diag, "diag<-", norm, determinant, chol, backsolve, |
| 34 |
show, |
| 35 |
solve, model.matrix, model.response, "%*%", kronecker, image) |
| 36 |
|
| 37 |
S3method(coef, slm) |
| 38 |
S3method(fitted, slm) |
| 39 |
S3method(residuals, slm) |
| 40 |
S3method(summary, mslm) |
| 41 |
S3method(summary, slm) |
| 42 |
S3method(print, summary.slm) |
| 43 |
S3method(print, slm) |
| 44 |
S3method(deviance, slm) |
| 45 |
S3method(extractAIC, slm) |
| 46 |
|
| 47 |
S3method(cbind, matrix.csr) |
| 48 |
S3method(rbind, matrix.csr) |
| 49 |
S3method(Ops, matrix.csr) |
| 50 |
S3method(Ops, matrix.diag.csr) |
| 51 |
S3method("[", matrix.coo) |
| 52 |
S3method("[", matrix.csr) |
| 53 |
S3method("[", matrix.diag.csr) |
| 54 |
S3method("[<-", matrix.coo) |
| 55 |
S3method("[<-", matrix.csr) |