force to use cholmod

15 次查看(过去 30 天)
Dohyun Kim
Dohyun Kim 2016-7-22
编辑: Dohyun Kim 2016-7-22
I have theoretically symmetric sparse matrix which is not numerically symmetric.
After assemble my matrix, I have
max(max(abs(A-A')))=1.e-16
which is negligible.
However, matlab does not consider this matrix as symmetric matrix. Hence, matlab does not use CHOLMOD to solve this matrix.
Of course, I can do
A=(A+A')/2
or other thing to make A symmetric.
However, I don't want to do this because it takes quite long time to transpose and take sum.
Is there any other way to force matlab to use CHOLMOD?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by