spray (version 1.0-5)

arity: The arity of a spray object

Description

The arity of a spray object: the number of indices needed to retrieve an entry, or the number of columns in the index matrix.

Usage

arity(S)

Arguments

S

a spray object

Value

Returns an integer

Examples

Run this code
# NOT RUN {
arity(spray(diag(1:6)))

# }

Run the code above in your browser using DataCamp Workspace