Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The kata does not assume the input matrix has an LU decomposition. Note that determining whether a square matrix has an LU decomposition is non-trivial, so either there should be handling if LU decomposition doesn't exist, or all inputs should guarantee to have one.
Modifying input will break the tests.
This comment is hidden because it contains spoiler information about the solution
Incorrect test framework usage in JS:
return Test.expect(isLowerTriangular(l, "L should be lower triangular"));
should beTest.expect(isLowerTriangular(l), "L should be lower triangular");
.Typo:
Missing random tests.
CoffeeScript translation kumited! Please Accept
This comment is hidden because it contains spoiler information about the solution
This kata could use some random tests.
Using
units
is a little bit strange, since you're usingunit
as a unit of measurement, not as "units of something", e.g. "The screen has 200 units of pixels" vs "A pixel is a unit of measurement". How about using the singular version instead?