bmad-sim / GTPSA.jl

Julia interface to the Generalised Truncated Power Series Algebra (GTPSA) library
https://bmad-sim.github.io/GTPSA.jl/
GNU General Public License v3.0
2 stars 0 forks source link

Test inversion time with parameters #98

Closed DavidSagan closed 2 months ago

DavidSagan commented 2 months ago

Take the case, for example, of 2 variables at order 5 and 100 knobs at order 1 versus 102 variables with the first two at order 5 and the others at order 1. Does the map inversion time differ between the two cases?

mattsignorelli commented 2 months ago

Inversion will definitely differ for this test, because one is a 2x2 matrix and the other is a 102x102 matrix (with how mad_tpsa handles the inversion)

DavidSagan commented 2 months ago

But what is the time difference?

mattsignorelli commented 2 months ago

Laurent in his email implemented this in the C code and found negligible differences in time