stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

Expose the `handling_whatever_lapack` functions to the users to avoid code duplication when implementing new algorithms

Open loiseaujc opened this issue 6 months ago • 0 comments

While working on the implementation of the matrix exponential expm, I ended up having to rewrite some of the handling functions for the lapack errors already written somewhere but not exposed.

Following the discussion here, I think grouping them all in one place (stdlib_linalg_lapack_aux seems a good choice) would make sense and avoid additional code duplication when re-using bits and pieces for other higher-level algorithms.

@perazz, @jvdp1, @jalvesz

loiseaujc avatar Jun 13 '25 20:06 loiseaujc