MCPcopy Create free account
hub / github.com/numpy/numpy / mk_complex_array

Function mk_complex_array

numpy/linalg/umath_linalg.cpp:2177–2188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2175
2176template<typename complextyp, typename typ>
2177static inline void
2178mk_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
2190template<typename complextyp, typename typ>
2191static inline void

Callers 1

process_geev_resultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected