Back to FabImage Library websiteYou are here:
Start »
Function Reference »
Basic »
Statistics »
Median_InPlace
Header: |
STD.h
|
Namespace: |
fil |
Module: |
FoundationLite |
Computes the median of an array of real numbers. Modifies the input array for the purpose of speed.
Syntax
void fil::Median_InPlace
(
ftl::Array<float>& ioValues,
float& outMedian
)
Parameters
|
Name |
Type |
Default |
Description |
 |
ioValues |
Array<float>& |
|
|
 |
outMedian |
float& |
|
|
Errors
List of possible exceptions:
Error type |
Description |
DomainError |
Empty array on input in Median_InPlace. |