Skip to main content

logaddexp2

Function logaddexp2 

Source
pub fn logaddexp2<T, D>(
    a: &Array<T, D>,
    b: &Array<T, D>,
) -> Result<Array<T, D>, FerrayError>
where T: Element + Float + CrMath, D: Dimension,
Expand description

log2(2^a + 2^b), computed in a numerically stable way.