| 4260 | } |
| 4261 | |
| 4262 | double HEkk::getValueScale(const HighsInt count, |
| 4263 | const vector<double>& value) const { |
| 4264 | if (count <= 0) return 1; |
| 4265 | double max_abs_value = 0; |
| 4266 | for (HighsInt iX = 0; iX < count; iX++) |
| 4267 | max_abs_value = std::max(fabs(value[iX]), max_abs_value); |
| 4268 | return nearestPowerOfTwoScale(max_abs_value); |
| 4269 | } |
| 4270 | |
| 4271 | double HEkk::getMaxAbsRowValue(HighsInt row) { |
| 4272 | if (!status_.has_ar_matrix) initialisePartitionedRowwiseMatrix(); |
no test coverage detected