-
Notifications
You must be signed in to change notification settings - Fork 3
/
NAMESPACE
169 lines (148 loc) · 5.43 KB
/
NAMESPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
importFrom("stats", "na.omit")
## Simple triplet matrix stuff
export("as.simple_triplet_matrix",
"is.simple_triplet_matrix",
"simple_triplet_diag_matrix",
"simple_triplet_matrix",
"simple_triplet_zero_matrix"
)
S3method("[", "simple_triplet_matrix")
S3method("[<-", "simple_triplet_matrix")
S3method("Math", "simple_triplet_matrix")
S3method("Ops", "simple_triplet_matrix")
S3method("Summary", "simple_triplet_matrix")
S3method("aperm", "simple_triplet_matrix")
S3method("as.matrix", "simple_triplet_matrix")
S3method("as.simple_triplet_matrix", "simple_sparse_array")
S3method("as.simple_triplet_matrix", "simple_triplet_matrix")
S3method("as.simple_triplet_matrix", "matrix")
S3method("as.simple_triplet_matrix", "default")
S3method("as.simple_triplet_matrix", "dgTMatrix")
S3method("as.simple_triplet_matrix", "dgCMatrix")
S3method("as.simple_triplet_matrix", "dgRMatrix")
S3method("as.simple_triplet_matrix", "matrix.coo")
S3method("as.simple_triplet_matrix", "matrix.csr")
S3method("as.simple_triplet_matrix", "matrix.csc")
S3method("as.simple_triplet_matrix", "spam")
S3method("as.vector", "simple_triplet_matrix")
S3method("c", "simple_triplet_matrix")
S3method("cbind", "simple_triplet_matrix")
S3method("dim", "simple_triplet_matrix")
S3method("dim<-", "simple_triplet_matrix")
S3method("dimnames", "simple_triplet_matrix")
S3method("dimnames<-", "simple_triplet_matrix")
S3method("duplicated", "simple_triplet_matrix")
S3method("is.numeric", "simple_triplet_matrix")
S3method("mean", "simple_triplet_matrix")
S3method("print", "simple_triplet_matrix")
S3method("rbind", "simple_triplet_matrix")
S3method("split", "simple_triplet_matrix")
S3method("t", "simple_triplet_matrix")
S3method("unique", "simple_triplet_matrix")
S3method(".is_sparse_mat_coercible_to_stm", "simple_triplet_matrix")
S3method(".is_sparse_mat_coercible_to_stm", "default")
S3method(".is_sparse_mat_coercible_to_stm", "dgTMatrix")
S3method(".is_sparse_mat_coercible_to_stm", "dgCMatrix")
S3method(".is_sparse_mat_coercible_to_stm", "dgRMatrix")
S3method(".is_sparse_mat_coercible_to_stm", "matrix.coo")
S3method(".is_sparse_mat_coercible_to_stm", "matrix.csr")
S3method(".is_sparse_mat_coercible_to_stm", "matrix.csc")
S3method(".is_sparse_mat_coercible_to_stm", "spam")
## enhanced stuff
useDynLib("slam", .registration = TRUE)
export("row_sums",
"col_sums",
"row_means",
"col_means"
)
S3method("row_sums", "default")
S3method("row_sums", "simple_triplet_matrix")
S3method("row_sums", "dgTMatrix")
S3method("row_sums", "dgCMatrix")
S3method("col_sums", "default")
S3method("col_sums", "simple_triplet_matrix")
S3method("col_sums", "dgTMatrix")
S3method("col_sums", "dgCMatrix")
S3method("row_means", "default")
S3method("row_means", "simple_triplet_matrix")
S3method("row_means", "dgTMatrix")
S3method("row_means", "dgCMatrix")
S3method("col_means", "default")
S3method("col_means", "simple_triplet_matrix")
S3method("col_means", "dgTMatrix")
S3method("col_means", "dgCMatrix")
export("row_norms",
"col_norms")
##
export("tcrossprod_simple_triplet_matrix",
"crossprod_simple_triplet_matrix",
"matprod_simple_triplet_matrix")
if(getRversion() >= "4.3.0") {
S3method("matrixOps", "simple_triplet_matrix")
S3method("chooseOpsMethod", "simple_triplet_matrix")
}
export("rowapply_simple_triplet_matrix",
"colapply_simple_triplet_matrix",
"crossapply_simple_triplet_matrix",
"tcrossapply_simple_triplet_matrix")
##
export("rollup")
S3method("rollup", "default")
S3method("rollup", "matrix")
S3method("rollup", "array")
S3method("rollup", "simple_sparse_array")
S3method("rollup", "simple_triplet_matrix")
## Simple sparse array stuff
export("as.simple_sparse_array",
"is.simple_sparse_array",
"simple_sparse_array",
"simple_sparse_zero_array",
##
"simplify_simple_sparse_array",
"reduce_simple_sparse_array",
"drop_simple_sparse_array",
##
"extend_simple_sparse_array",
"abind_simple_sparse_array"
)
S3method("[", "simple_sparse_array")
S3method("[<-", "simple_sparse_array")
S3method("Math", "simple_sparse_array")
S3method("Summary", "simple_sparse_array")
S3method("aperm", "simple_sparse_array")
S3method("as.array", "simple_sparse_array")
S3method("as.array", "simple_triplet_matrix")
S3method("as.simple_sparse_array", "simple_sparse_array")
S3method("as.simple_sparse_array", "simple_triplet_matrix")
S3method("as.simple_sparse_array", "array")
S3method("as.simple_sparse_array", "matrix")
S3method("as.simple_sparse_array", "default")
S3method("as.vector", "simple_sparse_array")
S3method("dim", "simple_sparse_array")
S3method("dim<-", "simple_sparse_array")
S3method("dimnames", "simple_sparse_array")
S3method("dimnames<-", "simple_sparse_array")
S3method("is.numeric", "simple_sparse_array")
S3method("mean", "simple_sparse_array")
S3method("print", "simple_sparse_array")
## Sparse matrix format readers and writers
export("read_stm_CLUTO",
"write_stm_CLUTO",
"read_stm_MC",
"write_stm_MC"
)
##
## export("unfold",
## "fold")
## S3method("unfold", "default")
## S3method("unfold", "matrix")
## S3method("unfold", "array")
## S3method("unfold", "simple_triplet_matrix")
## S3method("unfold", "simple_sparse_array")
## S3method("fold", "default")
## S3method("fold", "matrix")
## S3method("fold", "array")
## S3method("fold", "simple_triplet_matrix")
## S3method("fold", "simple_sparse_array")
##
export("slam_options")