| 84 | |
| 85 | |
| 86 | int columnidxabsmax(const ap::real_2d_array& x, int i1, int i2, int j) |
| 87 | { |
| 88 | int result; |
| 89 | int i; |
| 90 | double a; |
| 91 | |
| 92 | result = i1; |
| 93 | a = fabs(x(result,j)); |
| 94 | for(i = i1+1; i <= i2; i++) |
| 95 | { |
| 96 | if( ap::fp_greater(fabs(x(i,j)),fabs(x(result,j))) ) |
| 97 | { |
| 98 | result = i; |
| 99 | } |
| 100 | } |
| 101 | return result; |
| 102 | } |
| 103 | |
| 104 | |
| 105 | int rowidxabsmax(const ap::real_2d_array& x, int j1, int j2, int i) |
nothing calls this directly
no outgoing calls
no test coverage detected