Home | History | Annotate | Download | only in tests

Lines Matching refs:arr

35 double** do3x3smooth ( double** arr, int nArr )
44 double s = arr[i-1][j-1] + arr[i-1][j ] + arr[i-1][j+1]
45 + arr[i ][j-1] + arr[i ][j ] + arr[i ][j+1]
46 + arr[i+1][j-1] + arr[i+1][j ] + arr[i+1][j+1];
53 double sum ( double** arr, int nArr )
60 s += arr[i][j];
66 void setup_arr ( /*OUT*/double** arr, int nArr )
72 arr[i][j] = (double)(i * j);
74 unsigned char* p = (unsigned char*)&arr[i][j];
85 double r, **arr, **arr2, **arr3;
86 arr = alloc_square_array(nArr);
87 setup_arr( arr, nArr );
88 arr2 = do3x3smooth( arr, nArr );