Repository URL to install this package:
|
Version:
4.4.5.dfsg-3ubuntu2 ▾
|
<HTML>
<HEAD>
<TITLE>PROD function</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF" fgcolor="#000000">
<P><font size="+3" color="green"><B>Product</B></font></P>
<P>
<TABLE border="1" cols="2" frame="box" rules="all" width="572">
<TR>
<TD width="15%" valign="top"><B>Syntax</B>:</TD>
<TD width="85%"><CODE>
s = PROD(x)</CODE>
</TD></TR>
</table></p>
<p>
The <code>PROD</code> function only accepts a vector argument, and returns the
product of the elements of that vector. The result is a scalar value.</p>
<p>
<font size="+1" color="green"><B>Example</B></font></P>
<p>
Suppose <code>X = [1;2;3;4;5;6;7;8;9;10]</code>, then <code>A = PROD(X)</code>
returns scalar <code>A</code> with the value <code>3.6288e+06</code>.</p>
</BODY>
</HTML>