Distributional Support Minimum
Name
UxHwDoubleSupportMin
, UxHwFloatSupportMin
— Return the minimum of the support of a distribution.
Synopsis
#include <uxhw.h>
double UxHwDoubleSupportMin(double value);
float UxHwFloatSupportMin(float value);
Description
The UxHwDoubleSupportMin()
function returns the minimum of the support of the distribution associated with value
on architectures that associate distributional information with floating-point values.
Parameters
value
— The distributional value on which the minimum of the support is calculated.
Return Values
The UxHwDoubleSupportMin()
function returns the minimum of the support of the distribution value
. If value
has no distribution associated with it, the function returns value
.
✏️ Examples
#include <stdio.h>
#include <uxhw.h>
int
main(void)
{
double a = UxHwDoubleUniformDist(10.0, 20.0);
double supportMin = UxHwDoubleSupportMin(a);
printf("Minimum value in support of `a` is %lf\n", supportMin);
return 0;
}