Description Objects from the Class Slots Methods Author(s) See Also Examples
This object contains a pointer to a matrix on a NVIDIA GPU.
Objects should NOT be created by calls of the form new("gmatrix", ...)
. Instead use the gmatrix
, 'as.gmatrix' or 'g' functions.
ptr
:Represents an external pointer to the data on the GPU
nrow
:Object of class "integer"
representing the number of rows for the matrix
ncol
:Object of class "integer"
representing the number of cols for the matrix
rownames
:Should be a character vector with length equal nrow
colnames
:Should be a character vector with length equal nrow
type
:Must be 0L, 1L, 2L or 3L. These integers represent the types "double"
, "single"
, "integer"
or "logical"
respectively.
device
:Object of class "integer"
representing the device
signature(e1 = "gmatrix", e2 = "gmatrix")
: subtraction operator
signature(e1 = "gmatrix", e2 = "gvector")
: subtraction operator
signature(e1 = "gmatrix", e2 = "logical")
: subtraction operator
signature(e1 = "gmatrix", e2 = "matrix")
: subtraction operator
signature(e1 = "gmatrix", e2 = "missing")
: subtraction operator
signature(e1 = "gmatrix", e2 = "numeric")
: subtraction operator
signature(e1 = "gvector", e2 = "gmatrix")
: subtraction operator
signature(e1 = "logical", e2 = "gmatrix")
: subtraction operator
signature(e1 = "matrix", e2 = "gmatrix")
: subtraction operator
signature(e1 = "numeric", e2 = "gmatrix")
: subtraction operator
signature(x = "gmatrix")
: not operator
signature(e1 = "gmatrix", e2 = "gmatrix")
: not equal operator
signature(e1 = "gmatrix", e2 = "gvector")
: not equal operator
signature(e1 = "gmatrix", e2 = "logical")
: not equal operator
signature(e1 = "gmatrix", e2 = "matrix")
: not equal operator
signature(e1 = "gmatrix", e2 = "numeric")
: not equal operator
signature(e1 = "gvector", e2 = "gmatrix")
: not equal operator
signature(e1 = "logical", e2 = "gmatrix")
: not equal operator
signature(e1 = "matrix", e2 = "gmatrix")
: not equal operator
signature(e1 = "numeric", e2 = "gmatrix")
: not equal operator
signature(e1 = "gmatrix", e2 = "gmatrix")
: mod operator
signature(e1 = "gmatrix", e2 = "gvector")
: mod operator
signature(e1 = "gmatrix", e2 = "logical")
: mod operator
signature(e1 = "gmatrix", e2 = "matrix")
: mod operator
signature(e1 = "gmatrix", e2 = "numeric")
: mod operator
signature(e1 = "gvector", e2 = "gmatrix")
: mod operator
signature(e1 = "logical", e2 = "gmatrix")
: mod operator
signature(e1 = "matrix", e2 = "gmatrix")
: mod operator
signature(e1 = "numeric", e2 = "gmatrix")
: mod operator
signature(x = "gmatrix", y = "gmatrix")
: matrix multiplication operator
signature(x = "gmatrix", y = "gvector")
: matrix multiplication operator
signature(x = "gmatrix", y = "logical")
: matrix multiplication operator
signature(x = "gmatrix", y = "matrix")
: matrix multiplication operator
signature(x = "gmatrix", y = "numeric")
: matrix multiplication operator
signature(x = "gvector", y = "gmatrix")
: matrix multiplication operator
signature(x = "logical", y = "gmatrix")
: matrix multiplication operator
signature(x = "matrix", y = "gmatrix")
: matrix multiplication operator
signature(x = "numeric", y = "gmatrix")
: matrix multiplication operator
signature(X = "gmatrix", Y = "gmatrix")
: kronecker product
signature(X = "gmatrix", Y = "gvector")
: kronecker product
signature(X = "gmatrix", Y = "numeric")
: kronecker product
signature(X = "gvector", Y = "gmatrix")
: kronecker product
signature(X = "numeric", Y = "gmatrix")
: kronecker product
signature(e1 = "gmatrix", e2 = "gmatrix")
: and operator
signature(e1 = "gmatrix", e2 = "gvector")
: and operator
signature(e1 = "gmatrix", e2 = "logical")
: and operator
signature(e1 = "gmatrix", e2 = "matrix")
: and operator
signature(e1 = "gmatrix", e2 = "numeric")
: and operator
signature(e1 = "gvector", e2 = "gmatrix")
: and operator
signature(e1 = "logical", e2 = "gmatrix")
: and operator
signature(e1 = "matrix", e2 = "gmatrix")
: and operator.
signature(e1 = "numeric", e2 = "gmatrix")
: and operator.
signature(e1 = "gmatrix", e2 = "gmatrix")
: elementwise multiplication
signature(e1 = "gmatrix", e2 = "gvector")
: elementwise multiplication
signature(e1 = "gmatrix", e2 = "logical")
: elementwise multiplication
signature(e1 = "gmatrix", e2 = "matrix")
: elementwise multiplication
signature(e1 = "gmatrix", e2 = "numeric")
: elementwise multiplication
signature(e1 = "gvector", e2 = "gmatrix")
: elementwise multiplication
signature(e1 = "logical", e2 = "gmatrix")
: elementwise multiplication
signature(e1 = "matrix", e2 = "gmatrix")
: elementwise multiplication
signature(e1 = "numeric", e2 = "gmatrix")
: elementwise multiplication
signature(e1 = "gmatrix", e2 = "gmatrix")
: division operator
signature(e1 = "gmatrix", e2 = "gvector")
: division operator
signature(e1 = "gmatrix", e2 = "logical")
: division operator
signature(e1 = "gmatrix", e2 = "matrix")
: division operator
signature(e1 = "gmatrix", e2 = "numeric")
: division operator
signature(e1 = "gvector", e2 = "gmatrix")
: division operator
signature(e1 = "logical", e2 = "gmatrix")
: division operator
signature(e1 = "matrix", e2 = "gmatrix")
: division operator
signature(e1 = "numeric", e2 = "gmatrix")
: division operator
signature(x = "gmatrix", i = "gvector", j = "gvector")
: indexing
signature(x = "gmatrix", i = "gvector", j = "missing")
: indexing
signature(x = "gmatrix", i = "gvector", j = "numeric")
: indexing
signature(x = "gmatrix", i = "numeric", j = "gvector")
: indexing
signature(x = "gmatrix", i = "numeric", j = "missing")
: indexing
signature(x = "gmatrix", i = "numeric", j = "numeric")
: indexing
signature(x = "gmatrix", i = "missing", j = "missing", k = "missing")
: indexing
signature(x = "gmatrix", i = "gvector", j = "gvector")
: indexing
signature(x = "gmatrix", i = "gvector", j = "missing")
: indexing
signature(x = "gmatrix", i = "gvector", j = "numeric")
: indexing .
signature(x = "gmatrix", i = "numeric", j = "gvector")
: indexing
signature(x = "gmatrix", i = "numeric", j = "missing")
: indexing
signature(x = "gmatrix", i = "numeric", j = "numeric")
: indexing
signature(x = "gmatrix", i = "missing", j = "missing", k = "missing")
: indexing
signature(e1 = "gmatrix", e2 = "gmatrix")
: power operator
signature(e1 = "gmatrix", e2 = "gvector")
: power operator
signature(e1 = "gmatrix", e2 = "logical")
: power operator
signature(e1 = "gmatrix", e2 = "matrix")
: power operator
signature(e1 = "gmatrix", e2 = "numeric")
: power operator
signature(e1 = "gvector", e2 = "gmatrix")
: power operator
signature(e1 = "logical", e2 = "gmatrix")
: power operator
signature(e1 = "matrix", e2 = "gmatrix")
: power operator
signature(e1 = "numeric", e2 = "gmatrix")
: power operator
signature(e1 = "gmatrix", e2 = "gmatrix")
: or operator
signature(e1 = "gmatrix", e2 = "gvector")
: or operator
signature(e1 = "gmatrix", e2 = "logical")
: or operator
signature(e1 = "gmatrix", e2 = "matrix")
: or operator
signature(e1 = "gmatrix", e2 = "numeric")
: or operator
signature(e1 = "gvector", e2 = "gmatrix")
: or operator
signature(e1 = "logical", e2 = "gmatrix")
: or operator
signature(e1 = "matrix", e2 = "gmatrix")
: or operator
signature(e1 = "numeric", e2 = "gmatrix")
: or operator
signature(e1 = "gmatrix", e2 = "gmatrix")
: plus operator
signature(e1 = "gmatrix", e2 = "gvector")
: plus operator
signature(e1 = "gmatrix", e2 = "logical")
: plus operator
signature(e1 = "gmatrix", e2 = "matrix")
: plus operator
signature(e1 = "gmatrix", e2 = "missing")
: plus operator
signature(e1 = "gmatrix", e2 = "numeric")
: plus operator
signature(e1 = "gvector", e2 = "gmatrix")
: plus operator
signature(e1 = "logical", e2 = "gmatrix")
: plus operator
signature(e1 = "matrix", e2 = "gmatrix")
: plus operator
signature(e1 = "numeric", e2 = "gmatrix")
: plus operator
signature(e1 = "gmatrix", e2 = "gmatrix")
: less than operator
signature(e1 = "gmatrix", e2 = "gvector")
: less than operator
signature(e1 = "gmatrix", e2 = "logical")
: less than operator
signature(e1 = "gmatrix", e2 = "matrix")
: less than operator
signature(e1 = "gmatrix", e2 = "numeric")
: less than operator
signature(e1 = "gvector", e2 = "gmatrix")
: less than operator
signature(e1 = "logical", e2 = "gmatrix")
: less than operator
signature(e1 = "matrix", e2 = "gmatrix")
: less than operator
signature(e1 = "numeric", e2 = "gmatrix")
: less than operator
signature(e1 = "gmatrix", e2 = "gmatrix")
: less than or equal operator
signature(e1 = "gmatrix", e2 = "gvector")
: less than or equal operator
signature(e1 = "gmatrix", e2 = "logical")
: less than or equal operator
signature(e1 = "gmatrix", e2 = "matrix")
: less than or equal operator
signature(e1 = "gmatrix", e2 = "numeric")
: less than or equal operator
signature(e1 = "gvector", e2 = "gmatrix")
: less than or equal operator
signature(e1 = "logical", e2 = "gmatrix")
: less than or equal operator
signature(e1 = "matrix", e2 = "gmatrix")
: less than or equal operator
signature(e1 = "numeric", e2 = "gmatrix")
: less than or equal operator
signature(e1 = "gmatrix", e2 = "gmatrix")
: equal operator
signature(e1 = "gmatrix", e2 = "gvector")
: equal operator
signature(e1 = "gmatrix", e2 = "logical")
: equal operator
signature(e1 = "gmatrix", e2 = "matrix")
: equal operator
signature(e1 = "gmatrix", e2 = "numeric")
: equal operator
signature(e1 = "gvector", e2 = "gmatrix")
: equal operator
signature(e1 = "logical", e2 = "gmatrix")
: equal operator
signature(e1 = "matrix", e2 = "gmatrix")
: equal operator
signature(e1 = "numeric", e2 = "gmatrix")
: equal operator
signature(e1 = "gmatrix", e2 = "gmatrix")
: greater than operator
signature(e1 = "gmatrix", e2 = "gvector")
: greater than operator
signature(e1 = "gmatrix", e2 = "logical")
: greater than operator
signature(e1 = "gmatrix", e2 = "matrix")
: greater than operator
signature(e1 = "gmatrix", e2 = "numeric")
: greater than operator
signature(e1 = "gvector", e2 = "gmatrix")
: greater than operator
signature(e1 = "logical", e2 = "gmatrix")
: greater than operator
signature(e1 = "matrix", e2 = "gmatrix")
: greater than operator
signature(e1 = "numeric", e2 = "gmatrix")
: greater than operator
signature(e1 = "gmatrix", e2 = "gmatrix")
: greater than or equal operator
signature(e1 = "gmatrix", e2 = "gvector")
: greater than or equal operator
signature(e1 = "gmatrix", e2 = "logical")
: greater than or equal operator
signature(e1 = "gmatrix", e2 = "matrix")
: greater than or equal operator
signature(e1 = "gmatrix", e2 = "numeric")
: greater than or equal operator
signature(e1 = "gvector", e2 = "gmatrix")
: greater than or equal operator
signature(e1 = "logical", e2 = "gmatrix")
: greater than or equal operator
signature(e1 = "matrix", e2 = "gmatrix")
: greater than or equal operator
signature(e1 = "numeric", e2 = "gmatrix")
: greater than or equal operator
signature(data = "gmatrix")
: coersion function
signature(x = "gmatrix")
: coersion function
signature(x = "gmatrix")
: coersion function
signature(x = "gmatrix")
: coersion function
signature(x = "gmatrix")
: coersion function
signature(x = "gmatrix")
: coersion function
signature(x = "gmatrix")
: coersion function
signature(x = "gmatrix")
: absolute value
signature(x = "gmatrix")
: inverse cosine
signature(x = "gmatrix")
: inverse hyperbolic cosine
signature(x = "gmatrix")
: inverse sin
signature(x = "gmatrix")
: inverse hyperbolic sin
signature(x = "gmatrix")
: inverse tangent
signature(x = "gmatrix")
: inverse hyperbolic tangent
signature(x = "gmatrix")
: ceiling function
signature(x = "gmatrix")
: mean of each column
signature(x = "gmatrix")
: column names
signature(x = "gmatrix")
: set column names
signature(x = "gmatrix")
: sum of each column
signature(x = "gmatrix")
: cos function
signature(x = "gmatrix")
: hyperbolic cos
signature(x = "gmatrix", y = "gmatrix")
: calculates: t(x) %*% y
signature(x = "gmatrix", y = "gvector")
: calculates: t(x) %*% y
signature(x = "gmatrix", y = "logical")
: calculates: t(x) %*% y
signature(x = "gmatrix", y = "matrix")
: calculates: t(x) %*% y
signature(x = "gmatrix", y = "missing")
: calculates: t(x) %*% y
signature(x = "gmatrix", y = "numeric")
: calculates: t(x) %*% y
signature(x = "gvector", y = "gmatrix")
: calculates: t(x) %*% y
signature(x = "logical", y = "gmatrix")
: calculates: t(x) %*% y
signature(x = "matrix", y = "gmatrix")
: calculates: t(x) %*% y
signature(x = "numeric", y = "gmatrix")
: calculates: t(x) %*% y
signature(x = "gmatrix", y = "gmatrix")
: calculates: x %*% t(y)
signature(x = "gmatrix", y = "gvector")
: calculates: x %*% t(y)
signature(x = "gmatrix", y = "logical")
: calculates: x %*% t(y)
signature(x = "gmatrix", y = "matrix")
: calculates: x %*% t(y)
signature(x = "gmatrix", y = "missing")
: calculates: x %*% t(y)
signature(x = "gmatrix", y = "numeric")
: calculates: x %*% t(y)
signature(x = "gvector", y = "gmatrix")
: calculates: x %*% t(y)
signature(x = "logical", y = "gmatrix")
: calculates: x %*% t(y)
signature(x = "matrix", y = "gmatrix")
: calculates: x %*% t(y)
signature(x = "numeric", y = "gmatrix")
: calculates: x %*% t(y)
signature(x = "gmatrix")
: get device property
signature(x = "gmatrix")
: set device property
signature(x = "gmatrix")
: diagonal
signature(x = "gmatrix")
: set the diagonal of a matrix
signature(x = "gmatrix")
: dimension
signature(x = "gmatrix")
: set dimension
signature(x = "gmatrix")
: get dimnames
signature(x = "gmatrix")
: set dimnames
signature(x = "gmatrix")
: exponentiate function
signature(x = "gmatrix")
: computes exp(x) - 1
signature(x = "gmatrix")
: floor function
signature(x = "gmatrix")
: gamma function
signature(test = "gmatrix")
: conditional selection
signature(x = "gmatrix")
: finite status
signature(x = "gmatrix")
: infinite status
signature(x = "gmatrix")
: missing status
signature(x = "gmatrix")
: not a number status
signature(x = "gmatrix")
: total number of elements in object
signature(x = "gmatrix")
: log gamma function
signature(x = "gmatrix")
: logarithm function
signature(x = "gmatrix")
: base 10 log
signature(x = "gmatrix")
: log(1+x)
signature(x = "gmatrix")
: base 2 log
signature(x = "gmatrix")
: maximum of all elements
signature(x = "gmatrix")
: mean of all elements
signature(x = "gmatrix")
: min of all elements
signature(x = "gmatrix")
: number of columns
signature(x = "gmatrix")
: number of rows
signature(x = "gmatrix")
: round function (only to nearest whole number)
signature(x = "gmatrix")
: mean of each row
signature(x = "gmatrix")
: names of rows
signature(x = "gmatrix")
: set row names
signature(x = "gmatrix")
: sum of each row
signature(object = "gmatrix")
: show the data
signature(x = "gmatrix")
: return the sign
signature(x = "gmatrix")
: sin function
signature(x = "gmatrix")
: hyperbolic sin
signature(x = "gmatrix")
: square root
signature(x = "gmatrix")
: sum
signature(x = "gmatrix")
: transpose
signature(x = "gmatrix")
: tangent
signature(x = "gmatrix")
: hyperbolic tangent
signature(x = "gmatrix")
: get type (e.g "double"
)
signature(x = "gmatrix")
: set type
signature(a = "gmatrix", b="ANY")
: set type
Nathan Morris
1 | showClass("gmatrix")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.