opium/size.m

From Spinach Documentation Wiki
Revision as of 18:39, 6 June 2026 by Kuprov (talk | contribs) (Update function See also links and function index membership)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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