Description Objects from the Class Slots Methods Author(s) See Also Examples
This object contains a pointer to a vector on a NVIDIA GPU.
Objects should NOT be created by calls of the form new("gmatrix", ...)
. Instead use the gvector
, as.gvector
or g
functions.
ptr
:Represents an external pointer to the data on the GPU
length
:Object of class "integer"
representing the number of elements in the vector
names
: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 = "gvector")
: subtraction operator
signature(e1 = "gvector", e2 = "gmatrix")
: subtraction operator
signature(e1 = "gvector", e2 = "gvector")
: subtraction operator
signature(e1 = "gvector", e2 = "logical")
: subtraction operator
signature(e1 = "gvector", e2 = "matrix")
: subtraction operator
signature(e1 = "gvector", e2 = "missing")
: subtraction operator
signature(e1 = "gvector", e2 = "numeric")
: subtraction operator
signature(e1 = "logical", e2 = "gvector")
: subtraction operator
signature(e1 = "matrix", e2 = "gvector")
: subtraction operator.
signature(e1 = "numeric", e2 = "gvector")
:subtraction operator
signature(x = "gvector")
: not operator
signature(e1 = "gmatrix", e2 = "gvector")
: not equal operator
signature(e1 = "gvector", e2 = "gmatrix")
: not equal operator
signature(e1 = "gvector", e2 = "gvector")
: not equal operator
signature(e1 = "gvector", e2 = "logical")
: not equal operator
signature(e1 = "gvector", e2 = "matrix")
: not equal operator
signature(e1 = "gvector", e2 = "numeric")
: not equal operator
signature(e1 = "logical", e2 = "gvector")
: not equal operator
signature(e1 = "matrix", e2 = "gvector")
: not equal operator
signature(e1 = "numeric", e2 = "gvector")
: not equal operator
signature(e1 = "gmatrix", e2 = "gvector")
: mod operator
signature(e1 = "gvector", e2 = "gmatrix")
: mod operator
signature(e1 = "gvector", e2 = "gvector")
: mod operator
signature(e1 = "gvector", e2 = "logical")
: mod operator
signature(e1 = "gvector", e2 = "matrix")
: mod operator
signature(e1 = "gvector", e2 = "numeric")
: mod operator
signature(e1 = "logical", e2 = "gvector")
: mod operator
signature(e1 = "matrix", e2 = "gvector")
: mod operator
signature(e1 = "numeric", e2 = "gvector")
: mod operator
signature(x = "gmatrix", y = "gvector")
: matrix multiplication operator
signature(x = "gvector", y = "gmatrix")
: matrix multiplication operator
signature(x = "gvector", y = "gvector")
: matrix multiplication operator
signature(x = "gvector", y = "logical")
: matrix multiplication operator
signature(x = "gvector", y = "matrix")
: matrix multiplication operator
signature(x = "gvector", y = "numeric")
: matrix multiplication operator
signature(x = "logical", y = "gvector")
: matrix multiplication operator
signature(x = "matrix", y = "gvector")
: matrix multiplication operator
signature(x = "numeric", y = "gvector")
: matrix multiplication operator
signature(X = "gvector", Y = "gvector")
: outer product
signature(X = "gvector", Y = "logical")
: outer product
signature(X = "gvector", Y = "numeric")
: outer product
signature(X = "logical", Y = "gvector")
: outer product
signature(X = "numeric", Y = "gvector")
: outer product
signature(X = "gmatrix", Y = "gvector")
: kronecker product
signature(X = "gvector", Y = "gmatrix")
: kronecker product.
signature(X = "gvector", Y = "gvector")
: kronecker product
signature(X = "gvector", Y = "numeric")
: kronecker product
signature(X = "numeric", Y = "gvector")
: kronecker product
signature(e1 = "gmatrix", e2 = "gvector")
: and operator
signature(e1 = "gvector", e2 = "gmatrix")
: and operator
signature(e1 = "gvector", e2 = "gvector")
: and operator
signature(e1 = "gvector", e2 = "logical")
: and operator
signature(e1 = "gvector", e2 = "matrix")
: and operator
signature(e1 = "gvector", e2 = "numeric")
: and operator
signature(e1 = "logical", e2 = "gvector")
: and operator
signature(e1 = "matrix", e2 = "gvector")
: and operator
signature(e1 = "numeric", e2 = "gvector")
: and operator
signature(e1 = "gmatrix", e2 = "gvector")
: elementwise multiplication
signature(e1 = "gvector", e2 = "gmatrix")
: elementwise multiplication
signature(e1 = "gvector", e2 = "gvector")
: elementwise multiplication
signature(e1 = "gvector", e2 = "logical")
: elementwise multiplication
signature(e1 = "gvector", e2 = "matrix")
: elementwise multiplication
signature(e1 = "gvector", e2 = "numeric")
: elementwise multiplication
signature(e1 = "logical", e2 = "gvector")
: elementwise multiplication
signature(e1 = "matrix", e2 = "gvector")
: elementwise multiplication
signature(e1 = "numeric", e2 = "gvector")
: elementwise multiplication
signature(e1 = "gmatrix", e2 = "gvector")
: division operator
signature(e1 = "gvector", e2 = "gmatrix")
: division operator
signature(e1 = "gvector", e2 = "gvector")
: division operator
signature(e1 = "gvector", e2 = "logical")
: division operator
signature(e1 = "gvector", e2 = "matrix")
: division operator
signature(e1 = "gvector", e2 = "numeric")
: division operator
signature(e1 = "logical", e2 = "gvector")
: division operator
signature(e1 = "matrix", e2 = "gvector")
: division operator
signature(e1 = "numeric", e2 = "gvector")
: 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 = "gvector", i = "ANY", j = "ANY")
: 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 = "gvector", i = "ANY", j = "ANY")
: indexing
signature(e1 = "gmatrix", e2 = "gvector")
: power operator
signature(e1 = "gvector", e2 = "gmatrix")
: power operator
signature(e1 = "gvector", e2 = "gvector")
: power operator
signature(e1 = "gvector", e2 = "logical")
: power operator
signature(e1 = "gvector", e2 = "matrix")
: power operator
signature(e1 = "gvector", e2 = "numeric")
: power operator
signature(e1 = "logical", e2 = "gvector")
: power operator
signature(e1 = "matrix", e2 = "gvector")
: power operator
signature(e1 = "numeric", e2 = "gvector")
: power operator
signature(e1 = "gmatrix", e2 = "gvector")
: or operator
signature(e1 = "gvector", e2 = "gmatrix")
: or operator
signature(e1 = "gvector", e2 = "gvector")
: or operator
signature(e1 = "gvector", e2 = "logical")
: or operator
signature(e1 = "gvector", e2 = "matrix")
: or operator
signature(e1 = "gvector", e2 = "numeric")
: or operator
signature(e1 = "logical", e2 = "gvector")
: or operator
signature(e1 = "matrix", e2 = "gvector")
: or operator
signature(e1 = "numeric", e2 = "gvector")
: or operator
signature(e1 = "gmatrix", e2 = "gvector")
: plus operator
signature(e1 = "gvector", e2 = "gmatrix")
: plus operator
signature(e1 = "gvector", e2 = "gvector")
: plus operator
signature(e1 = "gvector", e2 = "logical")
: plus operator
signature(e1 = "gvector", e2 = "matrix")
: plus operator
signature(e1 = "gvector", e2 = "missing")
: plus operator
signature(e1 = "gvector", e2 = "numeric")
: plus operator
signature(e1 = "logical", e2 = "gvector")
: plus operator
signature(e1 = "matrix", e2 = "gvector")
: plus operator
signature(e1 = "numeric", e2 = "gvector")
: plus operator
signature(e1 = "gmatrix", e2 = "gvector")
: less than operator
signature(e1 = "gvector", e2 = "gmatrix")
: less than operator
signature(e1 = "gvector", e2 = "gvector")
: less than operator
signature(e1 = "gvector", e2 = "logical")
: less than operator
signature(e1 = "gvector", e2 = "matrix")
: less than operator
signature(e1 = "gvector", e2 = "numeric")
: less than operator
signature(e1 = "logical", e2 = "gvector")
: less than operator
signature(e1 = "matrix", e2 = "gvector")
: less than operator
signature(e1 = "numeric", e2 = "gvector")
: less than operator
signature(e1 = "gmatrix", e2 = "gvector")
: less than or equal operator
signature(e1 = "gvector", e2 = "gmatrix")
: less than or equal operator
signature(e1 = "gvector", e2 = "gvector")
: less than or equal operator
signature(e1 = "gvector", e2 = "logical")
: less than or equal operator
signature(e1 = "gvector", e2 = "matrix")
: less than or equal operator
signature(e1 = "gvector", e2 = "numeric")
: less than or equal operator
signature(e1 = "logical", e2 = "gvector")
: less than or equal operator
signature(e1 = "matrix", e2 = "gvector")
: less than or equal operator
signature(e1 = "numeric", e2 = "gvector")
: less than or equal operator
signature(e1 = "gmatrix", e2 = "gvector")
: equal operator
signature(e1 = "gvector", e2 = "gmatrix")
: equal operator
signature(e1 = "gvector", e2 = "gvector")
: equal operator
signature(e1 = "gvector", e2 = "logical")
: equal operator
signature(e1 = "gvector", e2 = "matrix")
: equal operator
signature(e1 = "gvector", e2 = "numeric")
: equal operator
signature(e1 = "logical", e2 = "gvector")
: equal operator
signature(e1 = "matrix", e2 = "gvector")
: equal operator
signature(e1 = "numeric", e2 = "gvector")
: equal operator
signature(e1 = "gmatrix", e2 = "gvector")
: greater than operator
signature(e1 = "gvector", e2 = "gmatrix")
: greater than operator
signature(e1 = "gvector", e2 = "gvector")
: greater than operator
signature(e1 = "gvector", e2 = "logical")
: greater than operator
signature(e1 = "gvector", e2 = "matrix")
: greater than operator
signature(e1 = "gvector", e2 = "numeric")
: greater than operator
signature(e1 = "logical", e2 = "gvector")
: greater than operator
signature(e1 = "matrix", e2 = "gvector")
: greater than operator
signature(e1 = "numeric", e2 = "gvector")
: greater than operator
signature(e1 = "gmatrix", e2 = "gvector")
: greater than or equal operator
signature(e1 = "gvector", e2 = "gmatrix")
: greater than or equal operator
signature(e1 = "gvector", e2 = "gvector")
: greater than or equal operator
signature(e1 = "gvector", e2 = "logical")
: greater than or equal operator
signature(e1 = "gvector", e2 = "matrix")
: greater than or equal operator
signature(e1 = "gvector", e2 = "numeric")
: greater than or equal operator
signature(e1 = "logical", e2 = "gvector")
: greater than or equal operator
signature(e1 = "matrix", e2 = "gvector")
: greater than or equal operator
signature(e1 = "numeric", e2 = "gvector")
: greater than or equal operator
signature(x = "gvector")
: absolute value
signature(x = "gvector")
: inverse cosine
signature(x = "gvector")
: inverse hyperbolic cosine
signature(data = "gvector")
:coersion function
signature(x = "gvector")
: coersion function
signature(x = "gvector")
: coersion function
signature(x = "gvector")
: coersion function
signature(x = "gvector")
: coersion function
signature(x = "gvector")
: coersion function
signature(x = "gvector")
: coersion function
signature(x = "gvector")
: inverse sine function
signature(x = "gvector")
: inverse hyperbolic sine function
signature(x = "gvector")
: inverse tangent function
signature(x = "gvector")
: inverse hyperbolic tangent function
signature(x = "gvector")
: ceiling function
signature(x = "gvector")
: cosine function
signature(x = "gvector")
: hyperbolic cosine
signature(x = "gmatrix", y = "gvector")
: calculates: t(x) %*% y
signature(x = "gvector", y = "gmatrix")
: calculates: t(x) %*% y
signature(x = "gvector", y = "gvector")
: calculates: t(x) %*% y
signature(x = "gvector", y = "logical")
: calculates: t(x) %*% y
signature(x = "gvector", y = "missing")
: calculates: t(x) %*% y
signature(x = "gvector", y = "numeric")
: calculates: t(x) %*% y
signature(x = "logical", y = "gvector")
: calculates: t(x) %*% y
signature(x = "numeric", y = "gvector")
: calculates: t(x) %*% y
signature(x = "gvector")
: get device
signature(x = "gvector")
: set device
signature(x = "gvector")
: exponential function
signature(x = "gvector")
: computes exp(x) - 1
signature(x = "gvector")
: floor function
signature(x = "gvector")
: gamma function
signature(test = "gvector")
: conditional selection
signature(x = "gvector")
: finite status
signature(x = "gvector")
: infinite status
signature(x = "gvector")
: missing status
signature(x = "gvector")
: not a number status
signature(x = "gvector")
: total number of elements in object
signature(x = "gvector")
: log gamma function
signature(x = "gvector")
: logarithm function
signature(x = "gvector")
: base 10 log
signature(x = "gvector")
: log(1+x)
signature(x = "gvector")
: base 2 log
signature(x = "gvector")
: maximum of all elements
signature(x = "gvector")
: mean of all elements
signature(x = "gvector")
: minimum of all elements
signature(x = "gvector")
: get element names
signature(x = "gvector")
: set element names
signature(x = "gvector")
: round to neares integer
signature(object = "gvector")
: display object
signature(x = "gvector")
: sign
signature(x = "gvector")
: sine function
signature(x = "gvector")
: hyperbolic sine function
signature(x = "gvector")
: sort
signature(x = "gvector")
: square root
signature(x = "gvector")
: sum of all elements
signature(x = "gvector")
: transpose
signature(x = "gvector")
: tangent function
signature(x = "gvector")
: hyperbolic tangent function
signature(x = "gmatrix", y = "gvector")
: calculates: x %*% t(y)
signature(x = "gvector", y = "gmatrix")
: calculates: x %*% t(y)
signature(x = "gvector", y = "gvector")
: calculates: x %*% t(y)
signature(x = "gvector", y = "logical")
: calculates: x %*% t(y)
signature(x = "gvector", y = "missing")
: calculates: x %*% t(y)
signature(x = "gvector", y = "numeric")
: calculates: x %*% t(y)
signature(x = "logical", y = "gvector")
: calculates: x %*% t(y)
signature(x = "numeric", y = "gvector")
: calculates: x %*% t(y)
signature(x = "gvector")
: get type
signature(x = "gvector")
: set type
signature(x = "gvector")
: index list of TRUE positions
Nathan Morris
1 | showClass("gvector")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.