Behaviour
It computes the quantile(s) specified as q1,q2,... on the elements of the measure array ordered in an ascending way.
Parameters
Return type
Binary-array.
Examples
Compute quantiles of order 0.10, 0.60 and 0.80.
oph_gsl_quantile('OPH_DOUBLE','OPH_DOUBLE',measure,0.10,0.60,0.80)
Operation type
Reduce.
Argument name | Type | Mandatory | Values | Default | Min/Max-value | Min/Max-times |
---|---|---|---|---|---|---|
input measure type | “oph_type” | “yes” | “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’” | “1” / “1” | ||
output measure type | “oph_type” | “yes” | “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’” | “1” / “1” | ||
measure | “binary-array” | “yes” | “1” / “1” | |||
q1 | “double” | “yes” | “1” / “1” | |||
q | “double” | “no” | “0” / | |||
order safe flag | “string” | “no” | “‘ORDER_SAFE_FLAG_SET’|’O RDER_SAFE_FLAG_UNSET’|’INDEX’” | “‘ORDER_SAFE_FLAG_SET’” | “0” / “1” |