• ###### xcncommented on "Linear Equation Solver" kata

From the description "If the system does not have a unique solution (has infinitely many solutions or is unsolvable), return null (None in python)."

• ###### Alterra Laniakeacommented on "Linear Equation Solver" kata

Nice kata. Initially thought this was too hard for 4 kyu. I changed my mind

• ###### Alterra Laniakeacommented on "Linear Equation Solver" kata

ah I did it now
Because I only know the cramer's rule way to calculate it which is slow

• ###### akar-0commented on "Linear Equation Solver" kata

Have you noticed that the kata is available in 5 languages? Only Python has numpy, how can the others do? Computing a matrix determinant or solving a linear equation isn't something magical, it's just math. You have to do it by yourself to solve this kata, that's it. And don't expect someone to give you the recipe in discussion.

• ###### hobovskycommented on "Linear Equation Solver" kata

Calculation of a determinant is perfectly in scope of a 4 kyu task :)

• ###### Alterra Laniakeacommented on "Linear Equation Solver" kata

how am I supposed to do this if numpy.linalg.det is not permitted

• ###### alexc19commented on "Linear Equation Solver" kata

This was fun, thank you! I am particularly happy with the way I achieved numerical stability in Python.

• ###### morbius13commented on "Linear Equation Solver" kata

it's certainly too hard for 4kyu

• ###### Invariancecreated an issue for "Linear Equation Solver" kata

The Python "No solution" test in the sample test cases actually has infinitely many solutions.

``````    @test.it('No solution')
def b():
tester(solve("x+2y=1", "2x=2-4y"), None)
``````
• ###### Blind4Basicscommented on "Linear Equation Solver" kata

ah, nice. Nobody thought about that so far... x)

Something else?

note: what about sys when it was accessible (I mean, specifically)

• ###### Blind4Basicscommented on "Linear Equation Solver" kata

'removed more, even if none were a problem. I left one because it's there on purpose.

• ###### Voilecommented on "Linear Equation Solver" kata

This comment is hidden because it contains spoiler information about the solution

• ###### Blind4Basicsresolved an issue on "Linear Equation Solver" kata

done.

Side question: how do you use it exactly, in the previous context?

• ###### Voilecreated an issue for "Linear Equation Solver" kata

This comment is hidden because it contains spoiler information about the solution

• ###### Luksonaacommented on "Linear Equation Solver" kata

This kata has too much text handling. No one needs cases like "x+2=y", that's just extra annoyance.