Ivan Pribec

Results 430 comments of Ivan Pribec

Upon further inspection, the reference version of [`DGTSV`](https://www.netlib.org/lapack/explore-html/d4/d62/group__double_g_tsolve_ga2bf93f2ddefa5e671866eb2191dc19d4.html) only makes call to the external routine `XERBLA` for error reports. So you could probably just add it to this repository and...

I can see that as a temporary solution until fpm has native support for locating if lapack is installed and what is the name of the library.

Would it be possible to inject code (or maybe a preprocessor define) that overwrites these functions and force them to generate a compile-time error? But I guess even this can...

> Rarely will it be convenient anyway to have to stuff everything in some unlimited polymorphic entity (which would require the dreaded and annoying `select type` construct). Using contained routines...

I've seen some C codes use an attribute like ```c void* cookie __attribute__ ((unused)) ``` to mark an unused data argument in the callback.

Just noticed the thread from @Beliavsky at Discourse, https://fortran-lang.discourse.group/t/gsoc-improve-nonlinear-least-squares-in-r/1735, on the topic of a GSoC'21 project about "Improving Nonlinear Least Squares in R". The homepage of the GSoC project is...

Given that [SciPy moved to Meson](https://labs.quansight.org/blog/2021/07/moving-scipy-to-meson/) it makes a lot of sense to support a build-system which makes it easier for them. 👍🏻

I'm generally in favor of making the error codes more specific. The only downside I see is this will likely "invalidate" the current usage instructions and also won't necessarily be...

We could introduce a compile time `DEBUG` flag (via the preprocessor), which would produce verbose error output if enabled. This would not break the established error codes.

The [CMinpack](https://github.com/devernay/cminpack/blob/master/enorm.c) version of `enorm` decided to redefine the `rdwarf` and `rgiant` constants so that: ```text rdwarf = sqrt(dpmpar(2)*1.5) * 10 rgiant = sqrt(dpmpar(3)) * 0.1 ``` following the [MPFIT](http://cow.physics.wisc.edu/~craigm/idl/fitting.html)...