/usr/share/freemat/help/text/prod.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 | PROD PROD Product Function
Usage
Computes the product of an array along a given dimension. The general
syntax for its use is
y = prod(x,d)
where x is an n-dimensions array of numerical type.
The output is of the same numerical type as the input, except
for integer types, which are automatically promoted to int32.
The argument d is optional, and denotes the dimension along
which to take the product. The output is computed via
If d is omitted, then the product is taken along the
first non-singleton dimension of x. Note that by definition
(starting with FreeMat 2.1) prod([]) = 1.
|