| 393 | } |
| 394 | |
| 395 | void ArrayMath::max(int size, |
| 396 | const float* in, |
| 397 | float& out) |
| 398 | { |
| 399 | out = in[0]; |
| 400 | for (auto i = 1; i < size; ++i) |
| 401 | { |
| 402 | out = std::max(out, in[i]); |
| 403 | } |
| 404 | } |
| 405 | |
| 406 | void ArrayMath::maxIndex(int size, |
| 407 | const float* in, |
no test coverage detected