| 541 | } |
| 542 | |
| 543 | float mse_array(float *a, int n) |
| 544 | { |
| 545 | int i; |
| 546 | float sum = 0; |
| 547 | for(i = 0; i < n; ++i) sum += a[i]*a[i]; |
| 548 | return sqrt(sum/n); |
| 549 | } |
| 550 | |
| 551 | void normalize_array(float *a, int n) |
| 552 | { |
no outgoing calls
no test coverage detected