Learn R Programming

ddR (version 0.1.2)

is.sparse_darray: Returns whether the input is a sparse_darray

Description

Returns whether the input is a sparse_darray

Usage

is.sparse_darray(x)

Arguments

x
input object.

Value

TRUE if x is a sparse_darray, FALSE otherwise.

Examples

Run this code
## Not run: 
# is.sparse_darray(3) # FALSE
# is.sparse_darray(darray(psize=c(3,3),dim=c(9,9))) # FALSE
# is.sparse_darray(darray(npartitions=3,sparse=TRUE)) # TRUE
# ## End(Not run)

Run the code above in your browser using DataLab