TODO 1.81 KB
Newer Older
Sander Mathijs van Veen's avatar
Sander Mathijs van Veen committed
1
# vim: set fileencoding=utf-8 :
Taddeüs Kroes's avatar
Taddeüs Kroes committed
2
- Last possibilities reduce to a similar result.
Sander Mathijs van Veen's avatar
Sander Mathijs van Veen committed
3

Taddeüs Kroes's avatar
Taddeüs Kroes committed
4
- ExpressionNode.equals() werkend maken voor alle cases (negatie).
Sander Mathijs van Veen's avatar
Sander Mathijs van Veen committed
5

Taddeüs Kroes's avatar
Taddeüs Kroes committed
6
- Create unit tests for node inequivalence operator.
Sander Mathijs van Veen's avatar
Sander Mathijs van Veen committed
7

Taddeüs Kroes's avatar
Taddeüs Kroes committed
8
- Line printer: 1 / (n + n)x  ->  1 / (n + n) * x
Sander Mathijs van Veen's avatar
Sander Mathijs van Veen committed
9

Taddeüs Kroes's avatar
Taddeüs Kroes committed
10 11 12
- Modules:
  + Equations with substitution
  + Gonio, no matches for sin(pi), sin(2pi), sin(4pi), etc...
Sander Mathijs van Veen's avatar
Sander Mathijs van Veen committed
13

14
- Fix: int -cf(x) dx (caused infinite loop)
Taddeüs Kroes's avatar
Taddeüs Kroes committed
15
  Solution: remove baby steps that rewrites f(x) to f(x) ^ 1
Taddeüs Kroes's avatar
Taddeüs Kroes committed
16 17

- Add backslash notation for special LaTeX symbols notation such as \pi?
Taddeüs Kroes's avatar
Taddeüs Kroes committed
18 19 20 21

- Change integral representation in parser so that _ and ^ bounds are printed correctly by line printer.

- Rewrite unit tests to use improved line printer syntax.
Taddeüs Kroes's avatar
Taddeüs Kroes committed
22

Taddeüs Kroes's avatar
Taddeüs Kroes committed
23
- Add notation "1 1/3" for 'int with fraction' leafs, and rules to rewrite them to fractions and back.
Taddeüs Kroes's avatar
Taddeüs Kroes committed
24 25 26 27

- frontend: replace 'dx' with '(dx)' with regex before sending to parser

- "sin^2 x" is supported by parser, but not yet by line printer.
28

Sander Mathijs van Veen's avatar
Sander Mathijs van Veen committed
29 30 31 32 33 34 35
#- To work 100% correctly, POW and SUB (^ and _) should have a precedence equal
#  to INTEGRAL when used for integral bounds.

- Give FUNCTION higher precedence than POW? -> "sin(x) ^ 2 == (sin x) ^ 2"
  rather than "sin(x ^ 2)" (which it is now).

- Add error message to exception in frontend.
36

Taddeüs Kroes's avatar
Taddeüs Kroes committed
37 38
# The following now works:
# "apia" no succesfully results in "a * pi * a"
39 40
# int_(-3)^(3) \pi (3^2 - x^2) dx  ->  36pi
# int_(-r)^(r) \pi (r^2 - x^2) dx  ->  4 / 3 * pi * r ^ 3
41
# "&" instead of "^^"
42

43 44
- Missed rewrite possibility:
  (4x) / (2x ^ 2 - 2y ^ 2)  ->  (2x) / (x ^ 2 - y ^ 2)
Taddeüs Kroes's avatar
Taddeüs Kroes committed
45 46

- Add notation "1 1/3" for 'int with fraction' leafs, and rules to rewrite them to fractions and back.
Taddeüs Kroes's avatar
Taddeüs Kroes committed
47 48 49 50

- frontend: replace 'dx' with '(dx)' with regex before sending to parser

- "sin^2 x" is supported by parser, but not yet by line printer.
Taddeüs Kroes's avatar
Taddeüs Kroes committed
51 52

- Multiple integrals -> use different constant names (e.g. C and D instead of 2C)