Broadcast fill.
(dst: &mut [f64], val: f64)
| 77 | pub mod scalar { |
| 78 | /// Broadcast fill. |
| 79 | pub fn fill_f64(dst: &mut [f64], val: f64) { |
| 80 | for d in dst.iter_mut() { |
| 81 | *d = val; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | /// L1 norm of element-wise difference. |
| 86 | pub fn l1_norm_delta(a: &[f64], b: &[f64]) -> f64 { |
nothing calls this directly
no test coverage detected