Function qdk_sim::linalg::zeros_like[][src]

pub fn zeros_like<T: Clone + Zero, Ix: Dimension>(
    data: &Array<T, Ix>
) -> Array<T, Ix>
Expand description

Returns a new array of the same type and shape as a given array, but containing only zeros.