Git Product home page Git Product logo

Comments (2)

andreadelprete avatar andreadelprete commented on July 20, 2024

Here it is a more complete version of the plot above:
integrator_error_with_seldom_expm_updates
The take home message is always the same: we don't need to update the matrix exponential (roughly) more than once every ms because doing so doesn't improve accuracy (in the range of time steps tested). Therefore, if the integration accuracy you get with a time step of 1 ms is not enough, you can simply update more frequently the other terms of the dynamics (M, h, J), while keeping updating the matrix exponential only every 1 ms. That's gonna look very good in a plot accuracy VS computation time, where we would see a fast decrease of the error for a small increase of computation!

from consim.

andreadelprete avatar andreadelprete commented on July 20, 2024

I've added the possibility to set the frequency of the updates of the matrix exponential in the c++ implementation of the Exponential simulator. However, at the moment I haven't optimized the code to exploit this feature in terms of computation time because it would mainly benefit the high accuracy simulations, whereas I am currently more interested in the low-accuracy but high-speed simulations.

from consim.

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.