pub trait JensenShannon: Sized d_JS(P, Q) = √(½(D_KL(P‖M) + D_KL(Q‖M))), where M = (P + Q) / 2
Range: [0, √ln2]. Symmetric. Fails with Error::ShapeMismatch if lengths differ,
or Error::KernelFailed carrying the kernel's status.
Implementors
impl JensenShannon for f64impl JensenShannon for f32impl JensenShannon for f16impl JensenShannon for bf16