If less than 7 variables are provided the program has to guess the remaining to construct a linearily independant basis. Instead the script currently pads the identity matrix. See src/interpreter.py at line 18 to 23.
Instead we need to systematically find linearly independent vectors.
Example for triggering the bug:
Input
Variable 1: p = 100000kg m^-1 s^-2
Variable 2: V = 0.25 m^3
Variable 3: n = 130 mol
Variable 4: R = 8.3145 kg m^2 s^-2 mol^-1 K^-1
Units for target: K
Expected:
Got:
Matrix is not invertible. The provided Vectors may not be linearily independent.
If less than 7 variables are provided the program has to guess the remaining to construct a linearily independant basis. Instead the script currently pads the identity matrix. See
src/interpreter.pyat line 18 to 23.Instead we need to systematically find linearly independent vectors.
Example for triggering the bug:
Input
Expected:
Got: