Difference between revisions of "Opium/size.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:opium/size.m}} __NOTOC__ The size of the matrix represented by the OPIUM. ==Syntax== answer=size(op,dim) ==Arguments== op - an opium object...")
 
(Sync syntax/arguments/outputs with current Spinach source)
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==
  
−
    answer=size(op,dim)
+
varargout=size(op,dim)
  
 
==Arguments==
 
==Arguments==
  
−
    op  - an opium object
+
op  - an opium object
 
   
 
   
 
     dim - optional, dimension whose  
 
     dim - optional, dimension whose  
Line 15: Line 16:
 
==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:03, 5 April 2026


The size of the matrix represented by the OPIUM.

Syntax

varargout=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