Giter VIP home page Giter VIP logo

Comments (4)

jicky94 avatar jicky94 commented on July 25, 2024

Should I rather in this case use Riemann sums as an approximation?

from quadgk.jl.

stevengj avatar stevengj commented on July 25, 2024

Could you be more precise about what you are trying to do?

from quadgk.jl.

jicky94 avatar jicky94 commented on July 25, 2024

Thanks. So I have a system of equation. One of them include an integral whose boundary is one of the unknowns. And I am not able to find how to implement a boundary variable integration. My question is close to that one in a sense #13 : i need to integrate over other types than real and complex numbers - i think.

I tried using the Python Sympy but 1.) I get a method error and 2.) I am unclear on how to switch to symbolic mathematics to then switch back to numerical and unsure if that would make any sense (never coded on matlab or similar, so forgive my ignorance).

Therefore -thinking the solution above is not suited- I thought of trying out a (probably bad?) approximation of the integral through Riemann sums.

What do you think? Let me know if i was unclear. Thanks a lot!!

from quadgk.jl.

stevengj avatar stevengj commented on July 25, 2024

I still don't understand — are you trying to do the integral symbolically? In that case, you can't use this package.

If you are solving the system of equations numerically (e.g. by Newton's method), and an equation involves an integral, then you can use this package to compute the integral numerically with no problems.

You could also look at https://github.com/JuliaApproximation/ApproxFun.jl for a numerical approach that has some flavor of the symbolic approach.

from quadgk.jl.

Related Issues (20)

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.