• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cwrowley / python-control / 22 / 2
73%
master: 76%

Build:
Build:
LAST BUILD BRANCH: fix-rtd
DEFAULT BRANCH: master
Ran 23 Mar 2015 01:06AM UTC
Files 26
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Mar 2015 12:46AM UTC coverage: 72.643%. First build
22.2

push

travis-ci

cwrowley
Speed up forced_response (lsim)

Fixes #48

The old algorithm called a general-purpose ODE integrator at each
timestep, and this could be extremely slow (hundreds of times slower
than scipy.signal.lsim).  This new algorithm evaluates the matrix
exponential once, and uses it to advance the simulation at each step.

Importantly, the old algorithm would work for variable timesteps, but
the new version assumes a fixed timestep (as does Matlab's lsim).  This
is the usual case, and it is the price one pays for increased speed.

Note that this algorithm is the same idea as the algorithm used in
scipy.signal.lsim, but the scipy version requires inverting the `A`
matrix, and thus does not work if the system has a pole at the origin.
The algorithm used here works even if there is a pole at the origin.
This commit also adds a test for this case (the double integrator).

2026 of 2789 relevant lines covered (72.64%)

0.73 hits per line

Source Files on job 22.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22
  • Travis Job 22.2
  • d7d278ba on github
  • Next Job for on lsim (#24.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc