Back to Aurora Vision Library website

You are here: Start » Function Reference » Basic » Statistics » Median_InPlace

Median_InPlace


Header: STD.h
Namespace: avl
Module: FoundationLite

Computes the median of an array of real numbers. Modifies the input array for the purpose of speed.

Syntax

void avl::Median_InPlace
(
	atl::Array<float>& ioValues,
	float& outMedian
)

Parameters

Name Type Default Description
Input will be modified ioValues Array<float>&
Output value outMedian float&

Errors

List of possible exceptions:

Error type Description
DomainError Empty array on input in Median_InPlace.