Difference between revisions of "Opium/size.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
(Update function See also links and function index membership)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
     answer=size(op,dim)
 
     answer=size(op,dim)
  
−
==Arguments==
+
==Parameters==
  
 
     op  - an opium object
 
     op  - an opium object
Line 18: Line 18:
  
 
==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]], [[opium/full.m]], [[Tensor_train_module]]
  
 
''Version 2.4, authors: [[Ilya Kuprov]]''
 
''Version 2.4, authors: [[Ilya Kuprov]]''

Latest revision as of 18:39, 6 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, opium/full.m, Tensor_train_module

Version 2.4, authors: Ilya Kuprov