Ondřej Čertík

Results 1701 comments of Ondřej Čertík

See my comment on precisely this issue (and the subsequent discussion there): https://github.com/symengine/symengine/pull/1644#issuecomment-597239761 We should do whatever is the most consistent and document it well. It could be that we...

The c++ `cbrt` has the property of `cbrt(-x) == -cbrt(x)` for positive `x`, which makes it not compatible with complex functions. It is equivalent to the [Surd](https://reference.wolfram.com/language/ref/Surd.html) function in Mathematica,...

It seems Matlab's `^` operator behaves like Fortran's `**` operator for complex numbers. The `nthroot` seems to be like like Mathematica's `Surd`.

> If someone can decipher the algorithm I'd be interested to read the explanation. Sure: it seems it's a rational function approximation (the last two lines), the `c` is an...

Well, last time I played with that, `-ffast-math` makes the Kahan summation not to work. I am not sure what is going on above, but the Kahan summation should be...

@ivan-pi wrote in https://github.com/fortran-lang/stdlib/issues/11#issuecomment-566296346: For example for the function that checks whether a character is a letter some of the possible names are: * `is_alpha` * `isalpha` (C/C++) * `isAlpha`...

You are right, isalpha is 3 syllables. I think the rules can be broken where it makes sense and we have a good reason. Otherwise if we have no reason...

Yes, I agree with @zbeekman we should try to automate as much as possible (formatting, release notes, etc.). And rather use our time and effort to discuss the actual API,...

@smwesten-usgs thanks for the feedback. Yes, I agree on the examples you gave that underscores look better. Here are some examples where no underscores I think look better (from NumPy...

My preference is 4 spaces, no tabs.