Difference between revisions of "Polinfo.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Add See also section to function-description page)
m (Spot-update function page against current Spinach source)
Line 9: Line 9:
 
==Arguments==
 
==Arguments==
  
−
  p   -   polyadic object
+
  p     - polyadic object
 +
 
 +
level - indentation level for nested polyadic objects
 +
 
 +
label - label printed before the object size
  
 
==Outputs==
 
==Outputs==
Line 15: Line 19:
 
  an ASCII diagram to the console
 
  an ASCII diagram to the console
  
−
  Note: polyadic objects can be huge, the code below
+
==Notes==
−
      avoids making memory copies.
+
  Polyadic objects can be huge, the function avoids making memory copies.
−
 
 
−
ilya.kuprov@weizmann.ac.il
 
  
 
==See also==
 
==See also==
 
[[polyadic/polinfo.m]], [[polyadic/size.m]], [[polyadic/nnz.m]], [[Tensor_train_module#Polyadic_functions|Polyadic functions]]
 
[[polyadic/polinfo.m]], [[polyadic/size.m]], [[polyadic/nnz.m]], [[Tensor_train_module#Polyadic_functions|Polyadic functions]]

Revision as of 15:03, 5 June 2026


Draws an ASCII diagram of a polyadic object.

Syntax

polinfo(p,level,label)

Arguments

p     - polyadic object
level - indentation level for nested polyadic objects
label - label printed before the object size

Outputs

an ASCII diagram to the console

Notes

Polyadic objects can be huge, the function avoids making memory copies.

See also

polyadic/polinfo.m, polyadic/size.m, polyadic/nnz.m, Polyadic functions