(
&self,
direction: &Direction,
mask: &[bool],
)
| 62 | } |
| 63 | |
| 64 | fn nonzero_whole_masked<T>( |
| 65 | &self, |
| 66 | direction: &Direction, |
| 67 | mask: &[bool], |
| 68 | ) -> anyhow::Result<Vec<T>> |
| 69 | where |
| 70 | T: PrimInt + Unsigned + Zero + AddAssign + Send + Sync, |
| 71 | { |
| 72 | let read_guard = self.0.read_inner(); |
| 73 | let data = read_guard.deref(); |
| 74 | match direction { |
| 75 | Direction::COLUMN => { |
| 76 | match_array_data_apply_function!(data, nonzero_col_masked, mask) |
| 77 | } |
| 78 | Direction::ROW => { |
| 79 | match_array_data_apply_function!(data, nonzero_row_masked, mask) |
| 80 | } |
| 81 | } |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | impl ComputeSum for IMArrayElement { |
nothing calls this directly
no outgoing calls
no test coverage detected