Set `first` to `last` slices of `inout` Array to a new Array `new_slices` Slices indicate that the indexing is along 3rd dimension
(inout: &mut Array<T>, new_slices: &Array<T>, first: i64, last: i64)
| 448 | /// |
| 449 | /// Slices indicate that the indexing is along 3rd dimension |
| 450 | pub fn set_slices<T>(inout: &mut Array<T>, new_slices: &Array<T>, first: i64, last: i64) |
| 451 | where |
| 452 | T: HasAfEnum, |
| 453 | { |
| 454 | let step: f64 = if first > last && last < 0 { -1.0 } else { 1.0 }; |
| 455 | let seqs = [ |
| 456 | Seq::default(), |
| 457 | Seq::default(), |
| 458 | Seq::new(first as f64, last as f64, step), |
| 459 | ]; |
| 460 | assign_seq(inout, &seqs, new_slices) |
| 461 | } |
| 462 | |
| 463 | /// Lookup(hash) an Array using another Array |
| 464 | /// |
nothing calls this directly
no test coverage detected