Difference between revisions of "Polyadic/size.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Update function See also links and function index membership)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{DISPLAYTITLE:polyadic/size.m}} __NOTOC__
 
{{DISPLAYTITLE:polyadic/size.m}} __NOTOC__
−
 
 
Returns the size of the matrix represented by the polyadic.
 
Returns the size of the matrix represented by the polyadic.
  
 
==Syntax==
 
==Syntax==
  
−
varargout=size(p,dim)
+
    answer=size(p,dim)
  
−
==Arguments==
+
==Parameters==
  
−
p  - a polyadic object
+
    p  - a polyadic object
 
   
 
   
 
     dim - dimension whose size is required
 
     dim - dimension whose size is required
Line 15: Line 14:
 
==Outputs==
 
==Outputs==
  
−
answer - a vector with one or two elements
+
    answer - a vector with one or two elements
  
 
==See also==
 
==See also==
−
 
+
[[polyadic.m]], [[polyadic/nnz.m]], [[polinfo.m]], [[polyadic/allfinite.m]], [[polyadic/ctranspose.m]], [[polyadic/full.m]], [[polyadic/gpuArray.m]], [[polyadic/inflate.m]], [[polyadic/isempty.m]], [[polyadic/kron.m]], [[polyadic/minus.m]], [[polyadic/mtimes.m]], [[polyadic/plus.m]], [[polyadic/polinfo.m]], [[polyadic/prefix.m]], [[polyadic/simplify.m]], [[polyadic/suffix.m]], [[polyadic/transpose.m]], [[polyadic/validate.m]], [[Tensor_train_module]]
−
[[polyadic.m]], [[polyadic/nnz.m]], [[polyadic/numel.m]]
 
−
 
 
  
 
''Version 2.1, authors: [[Ilya Kuprov]]''
 
''Version 2.1, authors: [[Ilya Kuprov]]''

Latest revision as of 18:40, 6 June 2026

Returns the size of the matrix represented by the polyadic.

Syntax

    answer=size(p,dim)

Parameters

    p   - a polyadic object

    dim - dimension whose size is required

Outputs

    answer - a vector with one or two elements

See also

polyadic.m, polyadic/nnz.m, polinfo.m, polyadic/allfinite.m, polyadic/ctranspose.m, polyadic/full.m, polyadic/gpuArray.m, polyadic/inflate.m, polyadic/isempty.m, polyadic/kron.m, polyadic/minus.m, polyadic/mtimes.m, polyadic/plus.m, polyadic/polinfo.m, polyadic/prefix.m, polyadic/simplify.m, polyadic/suffix.m, polyadic/transpose.m, polyadic/validate.m, Tensor_train_module

Version 2.1, authors: Ilya Kuprov