| 273 | } |
| 274 | |
| 275 | static 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 | |
| 294 | static int |
| 295 | gsl_matrix_complex_memcpy(gsl_matrix_complex *dest, |
no outgoing calls
no test coverage detected