Skip to main content

ldexp

Function ldexp 

Source
pub fn ldexp<T, D>(
    x: &Array<T, D>,
    n: &Array<i32, D>,
) -> Result<Array<T, D>, FerrayError>
where T: Element + Float, D: Dimension,
Expand description

Multiply x by 2^n (ldexp), with NumPy broadcasting.

n is provided as an integer array; broadcast-compatible with x.