Difference between revisions of "Opium/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:opium/size.m}} __NOTOC__
 
{{DISPLAYTITLE:opium/size.m}} __NOTOC__
−
 
 
The size of the matrix represented by the OPIUM.
 
The size of the matrix represented by the OPIUM.
  
 
==Syntax==
 
==Syntax==
  
−
varargout=size(op,dim)
+
    answer=size(op,dim)
  
 
==Arguments==
 
==Arguments==
  
−
op  - an opium object
+
    op  - an opium object
 
   
 
   
 
     dim - optional, dimension whose  
 
     dim - optional, dimension whose  
Line 16: Line 15:
 
==Outputs==
 
==Outputs==
  
−
answer - a vector with one or two elements
+
    answer - a vector with one or two elements
  
 
==See also==
 
==See also==
−
 
 
[[polyadic.m]], [[ttclass.m]], [[kronm.m]], [[opium/opium.m]], [[opium/kron.m]], [[opium/mtimes.m]]
 
[[polyadic.m]], [[ttclass.m]], [[kronm.m]], [[opium/opium.m]], [[opium/kron.m]], [[opium/mtimes.m]]
  
  
 
''Version 2.4, authors: [[Ilya Kuprov]]''
 
''Version 2.4, authors: [[Ilya Kuprov]]''

Revision as of 14:49, 5 April 2026

The size of the matrix represented by the OPIUM.

Syntax

    answer=size(op,dim)

Arguments

   op  - an opium object

   dim - optional, dimension whose 
         size is required

Outputs

   answer - a vector with one or two elements

See also

polyadic.m, ttclass.m, kronm.m, opium/opium.m, opium/kron.m, opium/mtimes.m


Version 2.4, authors: Ilya Kuprov