{"ScriptPreparationCode":"var A = [[11, -1, 0], [-1, 12, -1], [0, -1, 11]],\r\n B = [[87], [12] , [0]];\r\n\r\nvar Numeric_LUa = numeric.LU(A),\r\n math_LUa = math.lup(A);\r\n\r\nvar sparseA = [\r\n [1,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\r\n [0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\r\n [0,0,4,0,0,0,0,6,0,0,0,0,6,0,0,0,0,0,0,0],\r\n [0,1,0,2,0,0,0,0,0,0,0,0,0,6,0,6,0,0,0,0],\r\n [0,0,4,0,6,0,0,0,0,0,4,0,0,0,0,0,0,5,0,0],\r\n [0,0,0,2,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\r\n [0,0,0,0,6,0,23,4,0,0,0,0,0,0,6,0,0,0,0,0],\r\n [0,3,0,0,0,5,0,6,5,6,0,0,0,0,0,0,0,0,0,0],\r\n [0,0,0,0,0,2,6,45,66,0,0,0,0,0,0,0,6,0,0,0],\r\n [0,0,0,0,0,0,0,9,0,12,6,0,0,0,0,0,0,0,6,0],\r\n [0,0,3,0,0,0,0,0,23,0,45,0,0,5,0,0,0,0,0,0],\r\n [0,0,0,0,0,0,0,0,0,13,0,6,0,0,0,0,0,0,0,0],\r\n [3,0,0,0,3,0,56,0,0,0,5,0,5,0,0,0,0,6,0,0],\r\n [0,0,0,0,0,0,0,0,0,0,6,6,0,23,0,0,0,0,0,0],\r\n [0,3,0,0,0,0,0,0,0,0,0,0,8,6,67,0,0,0,0,0],\r\n [0,0,3,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0,0],\r\n [0,0,0,0,0,0,0,5,0,0,0,4,0,0,5,0,43,6,0,0],\r\n [0,3,0,0,0,0,0,0,0,0,0,6,0,0,0,45,6,6,6,0],\r\n [0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,7,0],\r\n [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]\r\n],\r\nsparseB = [[0],[0],[4],[0],[10],[0],[5],[0],[0],[0],[-5],[6],[0],[-6],[0],[0],[0],[10],[20],[4]];\r\n\r\nvar Numeric_sparse_LUa = numeric.LU(sparseA),\r\n math_sparse_LUa = math.lup(A);","TestCases":[{"Name":"jStat","Code":"jStat.gauss_elimination(A, B);","IsDeferred":false},{"Name":"Numeric JS (uses LUsolve under the hood)","Code":"numeric.solve(A, B);","IsDeferred":false},{"Name":"Numeric JS (LU Decomposed first)","Code":"numeric.LUsolve(Numeric_LUa, B);","IsDeferred":false},{"Name":"math.js","Code":"math.lusolve(A, B);","IsDeferred":false},{"Name":"math.js (LU Decomposed first)","Code":"math.lusolve(math_LUa, B);","IsDeferred":false},{"Name":"Sparse - jStat","Code":"jStat.gauss_elimination(sparseA, sparseB);","IsDeferred":false},{"Name":"Sparse - Numeric JS (uses LUsolve under the hood)","Code":"numeric.solve(sparseA, sparseB);","IsDeferred":false},{"Name":"Sparse - Numeric JS (LU Decomposed first)","Code":"numeric.LUsolve(Numeric_sparse_LUa, B);","IsDeferred":false},{"Name":"Sparse - math.js","Code":"math.lusolve(sparseA, sparseB);","IsDeferred":false},{"Name":"Sparse - math.js (LU Decomposed first)","Code":"math.lusolve(math_sparse_LUa, B);","IsDeferred":false}]}