polyadic/size.m

From Spinach Documentation Wiki
Revision as of 18:28, 5 June 2026 by Kuprov (talk | contribs) (Spot-edit Spinach function page first-line NOTOC and template fields)
Jump to: navigation, search

Returns the size of the matrix represented by the polyadic.

Syntax

    answer=size(p,dim)

Arguments

    p   - a polyadic object

    dim - dimension whose size is required

Outputs

    answer - a vector with one or two elements

See also

polyadic.m, polyadic/nnz.m

Version 2.1, authors: Ilya Kuprov