Giter Club home page Giter Club logo

Comments (10)

uniformlyMatt avatar uniformlyMatt commented on June 20, 2024

The RL function is for calculating the RL derivative at every point on a function's domain. You pass in an array of function values and get an array of fractional derivatives back.

The 'RLpoint' function is for calculating the RL derivative at a specific point. You can pass in the point as the 'domain_end' parameter.

Please let me know how this goes!

from differint.

shaunster0 avatar shaunster0 commented on June 20, 2024

from differint.

uniformlyMatt avatar uniformlyMatt commented on June 20, 2024

It looks like you've found an oversight in the code. I'll have to revisit this after I review Diethelm et al, since it's been a long time since I wrote this.

from differint.

shaunster0 avatar shaunster0 commented on June 20, 2024

from differint.

cooperhatfield avatar cooperhatfield commented on June 20, 2024

I've compared the result given by your code snippet with the expected result given by
image
Note, this is the theoretical result when the left endpoint is 0. For exponential functions, generally a left endpoint of negative infinity is used. But in any case, this is a comparison of the results:
image
In the case where the left endpoint decreases to -100, the result becomes
image
Which is likely closer to what you're expecting.

from differint.

shaunster0 avatar shaunster0 commented on June 20, 2024

thanks Cooper!

from differint.

shaunster0 avatar shaunster0 commented on June 20, 2024

it’d be good if a couple examples of this usage could be given on the project main page, this would be confusing to a new user … ie. setting the endpoint correctly on some common function

from differint.

cooperhatfield avatar cooperhatfield commented on June 20, 2024

Hi shaunster0,
A github wiki page has been made for this repo here please let me know if that is helpful, or what you think could be improved!

And just a note WRT the wiki, the Caputo methods are only available on a fork currently, not on the main package.

from differint.

cooperhatfield avatar cooperhatfield commented on June 20, 2024

Tomorrow I will update the readme with more examples though, you're right.

from differint.

shaunster0 avatar shaunster0 commented on June 20, 2024

thanks, appreciate what ure doing here, this project needed a makeover … it was amazing to me that there was no good quality python library for fractional derivatives

from differint.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.