(&self, f: F)
| 1759 | } |
| 1760 | |
| 1761 | fn col_reduce<F>(&self, f: F) -> Vec<C64> |
| 1762 | where |
| 1763 | F: Fn(Vec<C64>) -> C64, |
| 1764 | { |
| 1765 | let mut v = vec![Complex::zero(); self.col]; |
| 1766 | for (i, slot) in v.iter_mut().enumerate().take(self.col) { |
| 1767 | *slot = f(self.col(i)); |
| 1768 | } |
| 1769 | v |
| 1770 | } |
| 1771 | |
| 1772 | fn row_reduce<F>(&self, f: F) -> Vec<C64> |
| 1773 | where |
no test coverage detected