-
Notifications
You must be signed in to change notification settings - Fork 24
/
RcppExports.R
279 lines (210 loc) · 9.12 KB
/
RcppExports.R
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
to_int_checked <- function(x) {
.Call(`_bigmemory_to_int_checked`, x)
}
GetIndivMatrixElements <- function(bigMatAddr, col, row) {
.Call(`_bigmemory_GetIndivMatrixElements`, bigMatAddr, col, row)
}
GetIndivVectorMatrixElements <- function(bigMatAddr, elems) {
.Call(`_bigmemory_GetIndivVectorMatrixElements`, bigMatAddr, elems)
}
ReorderRIntMatrix <- function(matrixVector, nrow, ncol, orderVec) {
invisible(.Call(`_bigmemory_ReorderRIntMatrix`, matrixVector, nrow, ncol, orderVec))
}
ReorderRNumericMatrix <- function(matrixVector, nrow, ncol, orderVec) {
invisible(.Call(`_bigmemory_ReorderRNumericMatrix`, matrixVector, nrow, ncol, orderVec))
}
ReorderBigMatrix <- function(address, orderVec) {
invisible(.Call(`_bigmemory_ReorderBigMatrix`, address, orderVec))
}
ReorderRIntMatrixCols <- function(matrixVector, nrow, ncol, orderVec) {
invisible(.Call(`_bigmemory_ReorderRIntMatrixCols`, matrixVector, nrow, ncol, orderVec))
}
ReorderRNumericMatrixCols <- function(matrixVector, nrow, ncol, orderVec) {
invisible(.Call(`_bigmemory_ReorderRNumericMatrixCols`, matrixVector, nrow, ncol, orderVec))
}
ReorderRRawMatrixCols <- function(matrixVector, nrow, ncol, orderVec) {
invisible(.Call(`_bigmemory_ReorderRRawMatrixCols`, matrixVector, nrow, ncol, orderVec))
}
ReorderBigMatrixCols <- function(address, orderVec) {
invisible(.Call(`_bigmemory_ReorderBigMatrixCols`, address, orderVec))
}
OrderRIntMatrix <- function(matrixVector, nrow, columns, naLast, decreasing) {
.Call(`_bigmemory_OrderRIntMatrix`, matrixVector, nrow, columns, naLast, decreasing)
}
OrderRNumericMatrix <- function(matrixVector, nrow, columns, naLast, decreasing) {
.Call(`_bigmemory_OrderRNumericMatrix`, matrixVector, nrow, columns, naLast, decreasing)
}
OrderBigMatrix <- function(address, columns, naLast, decreasing) {
.Call(`_bigmemory_OrderBigMatrix`, address, columns, naLast, decreasing)
}
OrderRIntMatrixCols <- function(matrixVector, nrow, ncol, rows, naLast, decreasing) {
.Call(`_bigmemory_OrderRIntMatrixCols`, matrixVector, nrow, ncol, rows, naLast, decreasing)
}
OrderRNumericMatrixCols <- function(matrixVector, nrow, ncol, rows, naLast, decreasing) {
.Call(`_bigmemory_OrderRNumericMatrixCols`, matrixVector, nrow, ncol, rows, naLast, decreasing)
}
OrderBigMatrixCols <- function(address, rows, naLast, decreasing) {
.Call(`_bigmemory_OrderBigMatrixCols`, address, rows, naLast, decreasing)
}
CCleanIndices <- function(indices, rc) {
.Call(`_bigmemory_CCleanIndices`, indices, rc)
}
HasRowColNames <- function(address) {
.Call(`_bigmemory_HasRowColNames`, address)
}
GetIndexRowNames <- function(address, indices_) {
.Call(`_bigmemory_GetIndexRowNames`, address, indices_)
}
GetIndexColNames <- function(address, indices_) {
.Call(`_bigmemory_GetIndexColNames`, address, indices_)
}
GetColumnNamesBM <- function(address) {
.Call(`_bigmemory_GetColumnNamesBM`, address)
}
GetRowNamesBM <- function(address) {
.Call(`_bigmemory_GetRowNamesBM`, address)
}
SetColumnNames <- function(address, columnNames) {
invisible(.Call(`_bigmemory_SetColumnNames`, address, columnNames))
}
SetRowNames <- function(address, rowNames) {
invisible(.Call(`_bigmemory_SetRowNames`, address, rowNames))
}
IsReadOnly <- function(bigMatAddr) {
.Call(`_bigmemory_IsReadOnly`, bigMatAddr)
}
CIsSubMatrix <- function(bigMatAddr) {
.Call(`_bigmemory_CIsSubMatrix`, bigMatAddr)
}
CGetNrow <- function(bigMatAddr) {
.Call(`_bigmemory_CGetNrow`, bigMatAddr)
}
CGetNcol <- function(bigMatAddr) {
.Call(`_bigmemory_CGetNcol`, bigMatAddr)
}
CGetType <- function(bigMatAddr) {
.Call(`_bigmemory_CGetType`, bigMatAddr)
}
IsSharedMemoryBigMatrix <- function(bigMatAddr) {
.Call(`_bigmemory_IsSharedMemoryBigMatrix`, bigMatAddr)
}
IsFileBackedBigMatrix <- function(bigMatAddr) {
.Call(`_bigmemory_IsFileBackedBigMatrix`, bigMatAddr)
}
IsSeparated <- function(bigMatAddr) {
.Call(`_bigmemory_IsSeparated`, bigMatAddr)
}
SetRowOffsetInfo <- function(bigMatAddr, rowOffset, numRows) {
invisible(.Call(`_bigmemory_SetRowOffsetInfo`, bigMatAddr, rowOffset, numRows))
}
SetColumnOffsetInfo <- function(bigMatAddr, colOffset, numCols) {
invisible(.Call(`_bigmemory_SetColumnOffsetInfo`, bigMatAddr, colOffset, numCols))
}
GetRowOffset <- function(bigMatAddr) {
.Call(`_bigmemory_GetRowOffset`, bigMatAddr)
}
GetColOffset <- function(bigMatAddr) {
.Call(`_bigmemory_GetColOffset`, bigMatAddr)
}
GetTotalColumns <- function(bigMatAddr) {
.Call(`_bigmemory_GetTotalColumns`, bigMatAddr)
}
GetTotalRows <- function(bigMatAddr) {
.Call(`_bigmemory_GetTotalRows`, bigMatAddr)
}
GetTypeString <- function(bigMatAddr) {
.Call(`_bigmemory_GetTypeString`, bigMatAddr)
}
#' @title big.matrix size
#' @description Returns the size of the created matrix in bytes
#' @param bigMat a \code{big.matrix} object
#' @export
GetMatrixSize <- function(bigMat) {
.Call(`_bigmemory_GetMatrixSize`, bigMat)
}
MWhichBigMatrix <- function(bigMatAddr, selectColumn, minVal, maxVal, chkMin, chkMax, opVal) {
.Call(`_bigmemory_MWhichBigMatrix`, bigMatAddr, selectColumn, minVal, maxVal, chkMin, chkMax, opVal)
}
MWhichRIntMatrix <- function(matrixVector, nrow, selectColumn, minVal, maxVal, chkMin, chkMax, opVal) {
.Call(`_bigmemory_MWhichRIntMatrix`, matrixVector, nrow, selectColumn, minVal, maxVal, chkMin, chkMax, opVal)
}
MWhichRNumericMatrix <- function(matrixVector, nrow, selectColumn, minVal, maxVal, chkMin, chkMax, opVal) {
.Call(`_bigmemory_MWhichRNumericMatrix`, matrixVector, nrow, selectColumn, minVal, maxVal, chkMin, chkMax, opVal)
}
CCountLines <- function(fileName) {
.Call(`_bigmemory_CCountLines`, fileName)
}
ReadMatrix <- function(fileName, bigMatAddr, firstLine, numLines, numCols, separator, hasRowNames, useRowNames) {
.Call(`_bigmemory_ReadMatrix`, fileName, bigMatAddr, firstLine, numLines, numCols, separator, hasRowNames, useRowNames)
}
WriteMatrix <- function(bigMatAddr, fileName, rowNames, colNames, sep) {
invisible(.Call(`_bigmemory_WriteMatrix`, bigMatAddr, fileName, rowNames, colNames, sep))
}
GetMatrixElements <- function(bigMatAddr, col, row) {
.Call(`_bigmemory_GetMatrixElements`, bigMatAddr, col, row)
}
GetMatrixRows <- function(bigMatAddr, row) {
.Call(`_bigmemory_GetMatrixRows`, bigMatAddr, row)
}
GetMatrixCols <- function(bigMatAddr, col) {
.Call(`_bigmemory_GetMatrixCols`, bigMatAddr, col)
}
GetMatrixAll <- function(bigMatAddr) {
.Call(`_bigmemory_GetMatrixAll`, bigMatAddr)
}
SetMatrixElements <- function(bigMatAddr, col, row, values) {
invisible(.Call(`_bigmemory_SetMatrixElements`, bigMatAddr, col, row, values))
}
SetIndivVectorMatrixElements <- function(bigMatAddr, elems, inVec) {
invisible(.Call(`_bigmemory_SetIndivVectorMatrixElements`, bigMatAddr, elems, inVec))
}
SetIndivMatrixElements <- function(bigMatAddr, col, row, values) {
invisible(.Call(`_bigmemory_SetIndivMatrixElements`, bigMatAddr, col, row, values))
}
SetMatrixAll <- function(bigMatAddr, values) {
invisible(.Call(`_bigmemory_SetMatrixAll`, bigMatAddr, values))
}
SetMatrixCols <- function(bigMatAddr, col, values) {
invisible(.Call(`_bigmemory_SetMatrixCols`, bigMatAddr, col, values))
}
SetMatrixRows <- function(bigMatAddr, row, values) {
invisible(.Call(`_bigmemory_SetMatrixRows`, bigMatAddr, row, values))
}
CreateSharedMatrix <- function(row, col, colnames, rownames, typeLength, ini, separated) {
.Call(`_bigmemory_CreateSharedMatrix`, row, col, colnames, rownames, typeLength, ini, separated)
}
CreateLocalMatrix <- function(row, col, colnames, rownames, typeLength, ini, separated) {
.Call(`_bigmemory_CreateLocalMatrix`, row, col, colnames, rownames, typeLength, ini, separated)
}
CreateFileBackedBigMatrix <- function(fileName, filePath, row, col, colnames, rownames, typeLength, ini, separated) {
.Call(`_bigmemory_CreateFileBackedBigMatrix`, fileName, filePath, row, col, colnames, rownames, typeLength, ini, separated)
}
CAttachSharedBigMatrix <- function(sharedName, rows, cols, rowNames, colNames, typeLength, separated, readOnly) {
.Call(`_bigmemory_CAttachSharedBigMatrix`, sharedName, rows, cols, rowNames, colNames, typeLength, separated, readOnly)
}
CAttachFileBackedBigMatrix <- function(fileName, filePath, rows, cols, rowNames, colNames, typeLength, separated, readOnly) {
.Call(`_bigmemory_CAttachFileBackedBigMatrix`, fileName, filePath, rows, cols, rowNames, colNames, typeLength, separated, readOnly)
}
SharedName <- function(address) {
.Call(`_bigmemory_SharedName`, address)
}
FileName <- function(address) {
.Call(`_bigmemory_FileName`, address)
}
DirName <- function(address) {
.Call(`_bigmemory_DirName`, address)
}
Flush <- function(address) {
.Call(`_bigmemory_Flush`, address)
}
IsShared <- function(address) {
.Call(`_bigmemory_IsShared`, address)
}
isnil <- function(address) {
.Call(`_bigmemory_isnil`, address)
}
CDeepCopy <- function(inAddr, outAddr, rowInds, colInds, typecast_warning) {
.Call(`_bigmemory_CDeepCopy`, inAddr, outAddr, rowInds, colInds, typecast_warning)
}