Difference between revisions of "Polyadic/size.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Spot-edit Spinach function page first-line NOTOC and template fields)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     answer=size(p,dim)
 
     answer=size(p,dim)
  
−
==Arguments==
+
==Parameters==
  
 
     p  - a polyadic object
 
     p  - a polyadic object

Revision as of 17:51, 5 June 2026

Returns the size of the matrix represented by the polyadic.

Syntax

    answer=size(p,dim)

Parameters

    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