MidrangeΒΆ

Global Algorithm - One-Dimensional Algorithm

Midrange algorithm is computed from

\[m = \frac{\text{max}(Y) + \text{min}(Y)}{2} \, \text{,}\]

where \(Y\) is the input data vector and \(m\) represents the midrange value. A selection algorithm is required to find the minimum, maximum values.

Input Parameters

Parameter Type Constraint Description Remarks
\(Y\) \(Y \in \mathbb R^N\) \(N \in \mathbb{N}\) Input data vector of length \(N\)  

Output Parameters

Parameter Type Constraint Description Remarks
\(m\) \(m \in \mathbb R\)   Midrange value of \(Y\)  

Single Steps using the Algorithm