Difference between revisions of "Polyadic/size.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Restore pre-bulk-edit wiki content)
(Normalise sequential blank lines)
Line 18: Line 18:
 
==See also==
 
==See also==
 
[[polyadic.m]], [[polyadic/nnz.m]], [[polyadic/numel.m]]
 
[[polyadic.m]], [[polyadic/nnz.m]], [[polyadic/numel.m]]
−
 
  
 
''Version 2.1, authors: [[Ilya Kuprov]]''
 
''Version 2.1, authors: [[Ilya Kuprov]]''

Revision as of 11:28, 25 April 2026

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, polyadic/numel.m

Version 2.1, authors: Ilya Kuprov