arity: The arity of a spray object

Description Usage Arguments Value Author(s) Examples

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

1
arity(S)

Arguments

S

a spray object

Value

Returns an integer

Author(s)

Robin K. S. Hankin

Examples

1
arity(spray(diag(1:6)))

spray documentation built on Feb. 15, 2021, 1:06 a.m.