Variables | |
A = rng.random((dim, dim)) | |
B = A.dot(X) | |
D = csc_matrix(np.diag(ldlt.vectorD())) | |
int | dim = 100 |
L = ldlt.matrixL() | |
ldlt = eigenpy.SimplicialLDLT(A) | |
LDU = L @ D @ U | |
permutation = ldlt.permutationP() | |
rng = np.random.default_rng() | |
U = ldlt.matrixU() | |
X = rng.random((dim, 20)) | |
X_est = ldlt.solve(B) | |
Definition at line 9 of file test_SimplicialLDLT.py.
test_SimplicialLDLT.B = A.dot(X) |
Definition at line 26 of file test_SimplicialLDLT.py.
test_SimplicialLDLT.D = csc_matrix(np.diag(ldlt.vectorD())) |
Definition at line 20 of file test_SimplicialLDLT.py.
int test_SimplicialLDLT.dim = 100 |
Definition at line 6 of file test_SimplicialLDLT.py.
test_SimplicialLDLT.L = ldlt.matrixL() |
Definition at line 18 of file test_SimplicialLDLT.py.
test_SimplicialLDLT.ldlt = eigenpy.SimplicialLDLT(A) |
Definition at line 14 of file test_SimplicialLDLT.py.
Definition at line 22 of file test_SimplicialLDLT.py.
test_SimplicialLDLT.permutation = ldlt.permutationP() |
Definition at line 33 of file test_SimplicialLDLT.py.
test_SimplicialLDLT.rng = np.random.default_rng() |
Definition at line 7 of file test_SimplicialLDLT.py.
test_SimplicialLDLT.U = ldlt.matrixU() |
Definition at line 19 of file test_SimplicialLDLT.py.
test_SimplicialLDLT.X = rng.random((dim, 20)) |
Definition at line 25 of file test_SimplicialLDLT.py.
test_SimplicialLDLT.X_est = ldlt.solve(B) |
Definition at line 27 of file test_SimplicialLDLT.py.