(&self, direction: &Direction)
| 154 | |
| 155 | impl<B: Backend> ComputeMinMax for ArrayElem<B> { |
| 156 | fn min_max_whole<T>(&self, direction: &Direction) -> anyhow::Result<(Vec<T>, Vec<T>)> |
| 157 | where |
| 158 | T: num_traits::NumCast + Copy + PartialOrd + NumericOps + Send + Sync, |
| 159 | { |
| 160 | let x_data = self.get::<ArrayData>()?.expect("X matrix not found!"); |
| 161 | match direction { |
| 162 | Direction::COLUMN => { |
| 163 | match_array_data_apply_function!(x_data, min_max_col) |
| 164 | } |
| 165 | Direction::ROW => match_array_data_apply_function!(x_data, min_max_row), |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | fn min_max_chunk<T>( |
| 170 | &self, |
nothing calls this directly
no outgoing calls
no test coverage detected