MCPcopy Create free account
hub / github.com/agraef/pure-lang / gsl_matrix_complex_view_array

Function gsl_matrix_complex_view_array

pure/runtime.cc:275–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275static gsl_matrix_complex_view gsl_matrix_complex_view_array
276(double* p, size_t n1, size_t n2)
277{
278 gsl_matrix_complex_view view = {{0, 0, 0, 0, 0, 0}};
279 if (n1 == 0 || n2 == 0)
280 return view;
281 else {
282 gsl_matrix_complex s = {0, 0, 0, 0, 0, 0};
283 s.data = p;
284 s.size1 = n1;
285 s.size2 = n2;
286 s.tda = n2;
287 s.block = 0;
288 s.owner = 0;
289 view.matrix = s;
290 return view;
291 }
292}
293
294static int
295gsl_matrix_complex_memcpy(gsl_matrix_complex *dest,

Calls

no outgoing calls

Tested by

no test coverage detected