RANGE

From STX Wiki
< Programmer Guide‎ | SPU Reference
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

RANGE - get min/max values

Usage:

RANGE A

Inputs:
A number or vector
Outputs:
MIN minimum of A (number)
MAX maximum of A (number)
Function:

Find minimum and maximum value of input A.

if A is a number:

MIN = MAX = A

if A is a vector:

MIN = Min(A[0], .., A[n-1]) MAX = Max(A[0], .., A[n-1]) ; n = number of elements of A

Navigation menu

Personal tools