PopVariance
function PopVariance(int[] calldata x, int[] calldata weights, uint8 precision)
returns the unbiased weighted sample variance according to the following formula
Lenghts of x and weights have to be equal. Precision represents the number of decimal places and can be set between 0 and 18. It is applied to x, weights and output.
Under the hood, the following functions are utilized directly in the Neural client.
Last updated