/usr/share/freemat/help/text/numel.mdc is in freemat-help 4.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | NUMEL NUMEL Number of Elements in an Array
Usage
Returns the number of elements in an array x, or in a subindex
expression. The syntax for its use is either
y = numel(x)
or
y = numel(x,varargin)
Generally, numel returns prod(size(x)), the number of total
elements in x. However, you can specify a number of indexing
expressions for varagin such as index1, index2, ..., indexm.
In that case, the output of numel is
prod(size(x(index1,...,indexm))).
|