a beautiful gui program made with haskell and gtk
Go to file
sheaf 96aa38b3c3 improve rotations in interval arithmetic
Computing a rotation in interval arithmetic can lose tightness.
Instead of computing

   a cos phi + b sin phi

which doesn't account for the difference in phase in the two sinusoids,
it is better to use

  sqrt (a² + b²) * cos ( phi - atan2(a,b) )

which correctly estimates the maximum amplitude of the sum to be
sqrt(a²+b²) instead of abs(a) + abs(b).

This seems to worsen the performance of the interval Newton method
at the moment, possibly due to the complexity of the new formula,
which involves computing atan(b/a). Further investigation is needed.
2023-05-14 21:38:25 +02:00
app compute brush strokes using the envelope equation 2023-01-11 15:26:12 +01:00
assets put all colours into a separate CSS file 2023-01-08 21:12:00 +01:00
img add info bar 2020-08-08 05:33:35 +02:00
src improve rotations in interval arithmetic 2023-05-14 21:38:25 +02:00
.gitignore add hie.yaml 2022-12-04 17:53:39 +01:00
cabal.project experiment: FMA backend for interval arithmetic 2023-03-12 19:15:58 +01:00
hie.yaml add hie.yaml 2022-12-04 17:53:39 +01:00
installation_notes.md clean up build steps & instructions 2022-12-04 15:52:29 +01:00
MetaBrush.cabal improve rotations in interval arithmetic 2023-05-14 21:38:25 +02:00
shell.nix more GHC 9.4 build fixes 2022-12-04 17:25:44 +01:00