Lines Matching full:ldlt
65 LLT.h LDLT.h
134 // LDLT
146 LDLT<SquareMatrixType,Lower> ldltlo(symmLo);
153 LDLT<SquareMatrixType,Upper> ldltup(symmUp);
238 CALL_SUBTEST(( test_chol_update<SquareMatrixType,LDLT>(symm) ));
280 // LDLT
291 LDLT<RealMatrixType,Lower> ldltlo(symmLo);
312 VectorType vecX = matA.ldlt().solve(vecB);
316 // LDLT is not guaranteed to work for indefinite matrices, but happens to work fine if matrix is diagonal.
317 // This test checks that LDLT reports correctly that matrix is indefinite.
323 LDLT<MatrixType> ldlt(2);
327 ldlt.compute(mat);
328 VERIFY(!ldlt.isNegative());
329 VERIFY(!ldlt.isPositive());
333 ldlt.compute(mat);
334 VERIFY(!ldlt.isNegative());
335 VERIFY(!ldlt.isPositive());
339 ldlt.compute(mat);
340 VERIFY(ldlt.isNegative());
341 VERIFY(ldlt.isPositive());
345 ldlt.compute(mat);
346 VERIFY(!ldlt.isNegative());
347 VERIFY(ldlt.isPositive());
351 ldlt.compute(mat);
352 VERIFY(ldlt.isNegative());
353 VERIFY(!ldlt.isPositive());
367 LDLT<MatrixType> ldlt;
368 VERIFY_RAISES_ASSERT(ldlt.matrixL())
369 VERIFY_RAISES_ASSERT(ldlt.permutationP())
370 VERIFY_RAISES_ASSERT(ldlt.vectorD())
371 VERIFY_RAISES_ASSERT(ldlt.isPositive())
372 VERIFY_RAISES_ASSERT(ldlt.isNegative())
373 VERIFY_RAISES_ASSERT(ldlt.solve(tmp))
374 VERIFY_RAISES_ASSERT(ldlt.solveInPlace(&tmp))
400 CALL_SUBTEST_9( LDLT<MatrixXf>(10) );