spray (version 1.0)

arity:

Description

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

Usage

arity(S)

Arguments

S
a spray object

Value

Returns an integer

Examples

Run this code
arity(spray(diag(1:6)))

Run the code above in your browser using DataCamp Workspace