Ivan Pribec

Results 430 comments of Ivan Pribec

> Thanks for the book tip, I put together an implementation of the tree-walking interpreter in Fortran (https://github.com/awvwgk/flox). My main takeaway from this exercise is that while writing an expression...

Would this down the line mean also a `[c-lang]` table, e.g. to select C dialects? (https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#C-Dialect-Options)

@epagone wrote: > I note that I never met a single example of such "legacy" programmer that still actively writes code in fixed form and with implicit typing. I just...

A plan I had in mind was to introduce a new template parameter `RadiusResultItem` of default type `std::pair` in the `RadiusResultSet` class. Consumers from C could then use the struct...

I've noticed today it's possible to access the radius results from a C-like struct array with a bit of "cheating" as both `std::pair` and the trivial struct are [standard layout...

How about this as a simple interface? ```fortran program polyfit_example implicit none interface subroutine polyfit(x,y,n,p) bind(c,name="c_arma_polyfit") use iso_c_binding, only: c_double, c_int real(c_double), intent(in), contiguous :: x(:) real(c_double), intent(in), contiguous ::...

> Often the user will want to fit successively higher polynomial orders and choose the best order using an information criterion such as AIC. Ideally such fits would be done...

A prototype Fortran implementation I wrote 3 years ago can be found here: https://gist.github.com/ivan-pi/0fd517048c415ceca441eac626bf24c9

cc @arjenmarkus, @nshaffer, @jvdp1 We need a few more voices to move this issue forward. Given how many polynomial fitting codes are out there, it looks like polynomial regression is...

As a temporary workaround for any MacOS users, you can install Rust/Cargo: ``` $ curl https://sh.rustup.rs -sSf | sh $ source $HOME/.cargo/env $ cargo install customasm $ customasm -v customasm...