Bhattacharyya(int[] calldata p, int[] calldata q, uint8 precision) returns the distance between the probability distributions p and q given by
−ln(i∑piqi)
The lengths of p and q must be equal. It is assumed that p and q sum to 1. Precision representes the number of decimal places between 0 and 18. It is applied to p,q and the output.