spray (version 1.0-6)

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

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

# }