Next: table.stack, Previous: table.splitvars, Up: table [Contents]
8.2.55.43 table.squeeze ¶
- Method:
obj = squeeze (obj) ¶
-
Remove singleton dimensions.
For tables, this is always a no-op that returns the input unmodified,
because tables always have exactly 2 dimensions, and 2-D arrays are unaffected
by squeeze.