Difference between revisions of "Polyadic/size.m"
(→Arguments) |
(Sync syntax/arguments/outputs with current Spinach source) |
||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE:polyadic/size.m}} | + | {{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) | |
==Arguments== | ==Arguments== | ||
| − | + | p - a polyadic object | |
dim - dimension whose size is required | dim - dimension whose size is required | ||
| Line 14: | Line 15: | ||
==Outputs== | ==Outputs== | ||
| − | + | answer - a vector with one or two elements | |
==See also== | ==See also== | ||
| + | |||
[[polyadic.m]], [[polyadic/nnz.m]], [[polyadic/numel.m]] | [[polyadic.m]], [[polyadic/nnz.m]], [[polyadic/numel.m]] | ||
''Version 2.1, authors: [[Ilya Kuprov]]'' | ''Version 2.1, authors: [[Ilya Kuprov]]'' | ||
Revision as of 14:03, 5 April 2026
Returns the size of the matrix represented by the polyadic.
Syntax
varargout=size(p,dim)
Arguments
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, polyadic/numel.m
Version 2.1, authors: Ilya Kuprov