Ivan Pribec

Results 430 comments of Ivan Pribec

The C version which would work irrespective of the underlying character encoding would be closer to this: ```c #include #include bool lsame(char a, char b) { bool res = a...

Perhaps a new section *Reference* would be more suitable than *Learn*? I've always missed something similar to https://en.cppreference.com/w/ or https://docs.python.org/3/. I've looked at their pages and setup before but unfortunately...

@awvwgk, have you tried that before? It seems like fypp will need response files before it can work: https://github.com/aradi/fypp/issues/24

You may want to keep an eye on the discussion at https://github.com/fortran-lang/fpm/discussions/479 I've shown a basic example of fpm in Sublime (https://github.com/fortran-lang/fpm/discussions/479#discussioncomment-1778860) and @plevold has demonstrated it for VS Code...

I have succesfully used the explicit list of packages provided by @jschmiedt to create an environment and get spyking-circus run on a linux cluster using: `conda create --name spyking --file...

I arrived at the interface above as a wrapper of the routine [`quadratic_roots`](https://www.boost.org/doc/libs/1_80_0/libs/math/doc/html/math_toolkit/roots_deriv.html#math_toolkit.roots_deriv.quadratics) in the Boost C++ library, with the following behaviour: > To solve a quadratic ax2 + bx...

We don't need to use Boost; I just used it as a stepping-stone to arrive at an interface quickly. We are free to tweak the procedure prototype and behaviour to...

Just wanted to mention two more quadratic equation solvers: * SLICOT [`MC01VD`](http://slicot.org/objects/software/shared/doc/MC01VD.html) * NSWC Library of Subroutines [`dqdcrt`](https://jacobwilliams.github.io/polyroots-fortran/proc/dqdcrt.html) The interfaces are ```fortran SUBROUTINE MC01VD( A, B, C, Z1RE, Z1IM, Z2RE,...

In [Go](https://go.dev/) they use `go test -bench ` to run [Benchmarks](https://pkg.go.dev/testing#hdr-Benchmarks). They also define a standard [benchmark data format](https://go.googlesource.com/proposal/+/master/design/14313-benchmark-format.md).

In Cargo, the default behavior is to check for a file named `build.rs` in the root of the package. A custom build script can be specified as: ``` [package] #...