GrattonToint / S2MPJ

4 stars 0 forks source link

Some examples? #1

Open raphaelchinchilla opened 2 weeks ago

raphaelchinchilla commented 2 weeks ago

Dear all,

I am very excited to have found this work you all have done. I have been waiting for years for someone to do something similar to this.

Do you think it would be possible to write some basic examples of how to use the functions in Matlab, Julia and Python? I am talking really basic, something like using gradient descent to solve the Rosenbrock problem (with fixed step length).

You all describe a bit how to use it in the article, but it is very abstract and I think some examples would make it easier.

phtoint commented 1 week ago

Have yu checked the xample in the paper (s2pmj.pdf) ?

phtoint commented 1 week ago

Oups, sorry for the typos! If you think the example in the paper are too abstrct, we may think of something along the lines you suggest.

raphaelchinchilla commented 1 week ago

I ended up figuring it out, but it took me a while, so a full tutorial might help?

I might end up writing a toy example to get a better understanding of how to use it, and I can make a PR