edfink234

Results 27 comments of edfink234

@jeroenwijnen98 I never managed. @brendenpetersen macOS Sonoma 14.2

Thank you for the reply. Is there a paper or something where it is documented how the expressions are built in PySR? I was looking through the Julia code yesterday...

Also reproducible in 6.26/10 macosxarm64

Uh, works for me (in 6.26/10, macosxarm64) ```C++ root [0] int n; scanf("%d", &n); 5 root [1] n (int) 5 ```

Hi @dpiparo Thank you for the quick response and feedback! For this next commit, I’ve updated the functions as follows: - LinSpace, LogSpace, and Arange are now templated to deduce...

Thanks for the quick response @dpiparo! I will get to these hopefully today (Tuesday PST) if not at some point this week. It's almost 2 am where I am atm...

@dpiparo I made another commit to address the new comments and modified the tests a bit to hopefully have them pass.

> Thanks a lot for this! > > I have some suggestions, since I think it would be good to mimick python numpy more: > > * Linspace/Logspace should accept...

@dpiparo @vepadulano @ferdymercury I made two commits. The first one was changing `temp.reserve(n); temp.push_back(val)` in `Linspace/Logspace/Arange` `temp(n); temp[i] = val;` as I ran numerous tests to confirm that the latter...

Thanks for the comments! I will get to these this weekend. Just as an aside, below are some quickbench results for comparing `temp.reserve(n); temp.push_back(val)` vs `temp(n); temp[i]=val`: - [Linspace](https://quick-bench.com/q/msFN-RAfSji-42mYPLFDQo7TT58) -...