opium/size.m

From Spinach Documentation Wiki
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