We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4c93a7 commit d81e3ceCopy full SHA for d81e3ce
test/pdmtypes.jl
@@ -19,6 +19,8 @@ for T in [Float64, Float32]
19
X = convert(T,2.0)
20
21
test_pdmat(PDMat(M), M, cmat_eq=true, verbose=1) #tests of PDMat
22
+ cholL = Cholesky(Matrix(transpose(cholesky(M).factors)), 'L', 0)
23
+ test_pdmat(PDMat(cholL), M, cmat_eq=true, verbose=1) #tests of PDMat
24
test_pdmat(PDiagMat(V), Matrix(Diagonal(V)), cmat_eq=true, verbose=1) #tests of PDiagMat
25
test_pdmat(ScalMat(3,x), x*Matrix{T}(I, 3, 3), cmat_eq=true, verbose=1) #tests of ScalMat
26
test_pdmat(PDSparseMat(sparse(M)), M, cmat_eq=true, verbose=1, t_eig=false)
0 commit comments