| 533 | } |
| 534 | |
| 535 | float dist_array(float *a, float *b, int n, int sub) |
| 536 | { |
| 537 | int i; |
| 538 | float sum = 0; |
| 539 | for(i = 0; i < n; i += sub) sum += pow(a[i]-b[i], 2); |
| 540 | return sqrt(sum); |
| 541 | } |
| 542 | |
| 543 | float mse_array(float *a, int n) |
| 544 | { |
no outgoing calls
no test coverage detected