| 2175 | |
| 2176 | template<typename complextyp, typename typ> |
| 2177 | static inline void |
| 2178 | mk_complex_array(complextyp *c, |
| 2179 | const typ *re, |
| 2180 | const typ *im, |
| 2181 | size_t n) |
| 2182 | { |
| 2183 | size_t iter; |
| 2184 | for (iter = 0; iter < n; ++iter) { |
| 2185 | c[iter].r = re[iter]; |
| 2186 | c[iter].i = im[iter]; |
| 2187 | } |
| 2188 | } |
| 2189 | |
| 2190 | template<typename complextyp, typename typ> |
| 2191 | static inline void |
no outgoing calls
no test coverage detected