3.3.3. unit_scaling.constraints.gmean

unit_scaling.constraints.gmean(*scales: float) float[source]

Computes the geometric mean of the provided scales. Recommended for unit scaling.

Parameters:

scales – (*float): the group of constrained scales

Returns:

the geometric mean.

Return type:

float