Difference between revisions of "Polyadic/size.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
−
{{DISPLAYTITLE:polyadic/size.m}} __NOTOC__
+
{{DISPLAYTITLE:polyadic/size.m}}
−
 
 
 
Returns the size of the matrix represented by the polyadic.
 
Returns the size of the matrix represented by the polyadic.
  
 
==Syntax==
 
==Syntax==
  
−
varargout=size(p,dim)
+
    answer=size(p,dim)
  
 
==Arguments==
 
==Arguments==
  
−
p  - a polyadic object
+
    p  - a polyadic object
 
   
 
   
 
     dim - dimension whose size is required
 
     dim - dimension whose size is required
Line 15: Line 14:
 
==Outputs==
 
==Outputs==
  
−
answer - a vector with one or two elements
+
    answer - a vector with one or two elements
  
 
==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 14:49, 5 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