Programmer Guide/Command Reference/EVAL/min: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
=====min=====
Returns the smallest value found in the arguments.
;Usage: <code>min(<var>x1</var> {, <var>x2</var> {, ...}})</code>
:;<var>x1</var>, <var>x2</var>, ...: each argument can be a scalar, vector or matrix
;Result: The result is the minimum value found in the arguments.
;See also: [[../imin|imin]], [[../absmin|absmin]], [[../max|max]],


Returns the smallest value found in the parameters.
[[../#Functions|<function list>]]
 
=====Usage:=====
 
<code>min(<var>x</var>)</code>
 
<code>min(<var>x0</var>,<var>x1</var>,...,<var>xN</var>)</code>
 
=====Parameters:=====
 
;<var>x, xN</var>
 
:A scalar, vector or matrix.
 
=====Return Type:=====
 
scalar
 
=====Examples:=====
 
<pre>
#min := eval min($#t1, $#t2, 1, 2, 100)
</pre>

Latest revision as of 11:21, 21 April 2011

Returns the smallest value found in the arguments.

Usage
min(x1 {, x2 {, ...}})
x1, x2, ...
each argument can be a scalar, vector or matrix
Result
The result is the minimum value found in the arguments.
See also
imin, absmin, max,

<function list>

Navigation menu

Personal tools