ndarray_linalg::convert

Function replicate

source
pub fn replicate<A, Sv, So, D>(a: &ArrayBase<Sv, D>) -> ArrayBase<So, D>
where A: Copy, Sv: Data<Elem = A>, So: DataOwned<Elem = A> + DataMut, D: Dimension,