Difference between revisions of "Opium/size.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     answer=size(op,dim)
 
     answer=size(op,dim)
  
−
==Arguments==
+
==Parameters==
  
 
     op  - an opium object
 
     op  - an opium object

Revision as of 17:50, 5 June 2026

The size of the matrix represented by the OPIUM.

Syntax

    answer=size(op,dim)

Parameters

   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