| 2164 | |
| 2165 | template<typename complextyp, typename typ> |
| 2166 | static inline void |
| 2167 | mk_complex_array_from_real(complextyp *c, const typ *re, size_t n) |
| 2168 | { |
| 2169 | size_t iter; |
| 2170 | for (iter = 0; iter < n; ++iter) { |
| 2171 | c[iter].r = re[iter]; |
| 2172 | c[iter].i = numeric_limits<typ>::zero; |
| 2173 | } |
| 2174 | } |
| 2175 | |
| 2176 | template<typename complextyp, typename typ> |
| 2177 | static inline void |
no outgoing calls
no test coverage detected