MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / solve

Method solve

JSAT/src/jsat/linear/LUPDecomposition.java:88–98  ·  view source on GitHub ↗
(Vec b)

Source from the content-addressed store, hash-verified

86 }
87
88 public Vec solve(Vec b)
89 {
90 //Solve P A x = L U x = P b, for x
91
92 //First solve L y = P b
93 Vec y = forwardSub(L, P.multiply(b));
94 //Sole U x = y
95 Vec x = backSub(U, y);
96
97 return x;
98 }
99
100 public Matrix solve(Matrix B)
101 {

Callers 7

testSolve_VecMethod · 0.95
testSolve_MatrixMethod · 0.95
trainMethod · 0.95
setCovarianceMethod · 0.95
trainMethod · 0.95
iterationStepMethod · 0.95

Calls 3

forwardSubMethod · 0.95
backSubMethod · 0.95
multiplyMethod · 0.45

Tested by 3

testSolve_VecMethod · 0.76
testSolve_MatrixMethod · 0.76