Skip to main content

full_like

Function full_like 

Source
pub fn full_like<T: Element, D: Dimension>(
    other: &Array<T, D>,
    fill_value: T,
) -> FerrayResult<Array<T, D>>
Expand description

Create an array with the same shape as other, filled with fill_value.

Analogous to numpy.full_like().