pub fn constant_init(shape: &[usize], value: f64) -> ArrayD<f64>
Initialize all elements to a constant value.