fancidev

Results 45 comments of fancidev

Thanks for the comment @dschmitz89. I didn’t know that `stats.fit` contains the “maximum product of spacing” method. It’s an interesting one and worth exploring. As far as MLE is concerned,...

I think a function like `assert_identical` could be useful to verify that a function returns what it is expected to return: same type, same shape, same dtype, same layout (Fortran...

A small comment about `series_eval` for @steppi : instead of accepting a `Generator`, have you considered accepting an `Iterator`? I come across this when writing the continued fraction evaluator for...

Thanks for the quick response @steppi . The Iterator way is also “lazy”, and no memory allocation is incurred. Basically, instead of calling `g()` to get the current element and...

I come across [this line](https://github.com/scipy/scipy/blob/09769690f65cfc078c860f960f084aa3689df5b4/scipy/special/special/hyp2f1.h#L200); wonder if it’s a typo? The comment wants u > v, but that lines makes u < v.

> > I come across [this line](https://github.com/scipy/scipy/blob/09769690f65cfc078c860f960f084aa3689df5b4/scipy/special/special/hyp2f1.h#L200); wonder if it’s a typo? The comment wants u > v, but that lines makes u < v. > > Good catch. Yes,...

Great additions! My two cents about some of the points: +1 on supporting both lower and upper bounds of integration. The parameter convention of Python’s `range` function feels not the...

> Our goal is to get all of the numerical functions in special currently mixed between C, C++, Cython, Python, and F̶o̶r̶t̶r̶a̶n̶ into a single header-only C++ library. May I...

Thanks both for the reply and references! I find [this comment](https://github.com/scipy/scipy/issues/19404#issuecomment-1775431903) quite informative and answers all my questions. Looking forward to have those functions reusable in C++ (even if by...

After reading the great discussions, it seems the main debate is whether the complexity of C++ justifies its adoption in SciPy. It appears to me the key question is whether...