(
&self,
direction: &Direction,
reference: (&mut Vec<T>, &mut Vec<T>),
)
| 230 | } |
| 231 | |
| 232 | fn min_max_chunk<T>( |
| 233 | &self, |
| 234 | direction: &Direction, |
| 235 | reference: (&mut Vec<T>, &mut Vec<T>), |
| 236 | ) -> anyhow::Result<()> |
| 237 | where |
| 238 | T: num_traits::NumCast + Copy + PartialOrd + NumericOps + Send + Sync, |
| 239 | { |
| 240 | let read_guard = self.0.read_inner(); |
| 241 | |
| 242 | let data = read_guard.deref(); |
| 243 | |
| 244 | match direction { |
| 245 | Direction::COLUMN => { |
| 246 | match_array_data_apply_function!( |
| 247 | data, |
| 248 | min_max_col_chunk, |
| 249 | (reference.0, reference.1) |
| 250 | ) |
| 251 | } |
| 252 | Direction::ROW => { |
| 253 | match_array_data_apply_function!( |
| 254 | data, |
| 255 | min_max_row_chunk, |
| 256 | (reference.0, reference.1) |
| 257 | ) |
| 258 | } |
| 259 | } |
| 260 | } |
| 261 | } |
| 262 | |
| 263 | impl ComputeNTop for IMArrayElement { |
nothing calls this directly
no outgoing calls
no test coverage detected