Return a TypeSet describing the image of self across halfvector.
(&self)
| 466 | |
| 467 | /// Return a TypeSet describing the image of self across halfvector. |
| 468 | fn half_vector(&self) -> TypeSet { |
| 469 | let mut copy = self.clone(); |
| 470 | copy.lanes = NumSet::from_iter(self.lanes.iter().filter(|&&x| x > 1).map(|&x| x / 2)); |
| 471 | copy |
| 472 | } |
| 473 | |
| 474 | /// Return a TypeSet describing the image of self across doublevector. |
| 475 | fn double_vector(&self) -> TypeSet { |