File tree 1 file changed +6
-0
lines changed 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,9 @@ The triangular Cholesky factor can be obtained from the factorization `F` with:
301
301
The following functions are available for `Cholesky` objects: [`size`](@ref), [`\\ `](@ref),
302
302
[`inv`](@ref), [`det`](@ref), [`logdet`](@ref) and [`isposdef`](@ref).
303
303
304
+ If you have a matrix `A` that is slightly non-Hermitian due to roundoff errors in its construction,
305
+ wrap it in `Hermitian(A)` before passing it to `cholesky` in order to treat it as perfectly Hermitian.
306
+
304
307
When `check = true`, an error is thrown if the decomposition fails.
305
308
When `check = false`, responsibility for checking the decomposition's
306
309
validity (via [`issuccess`](@ref)) lies with the user.
@@ -354,6 +357,9 @@ The following functions are available for `CholeskyPivoted` objects:
354
357
The argument `tol` determines the tolerance for determining the rank.
355
358
For negative values, the tolerance is the machine precision.
356
359
360
+ If you have a matrix `A` that is slightly non-Hermitian due to roundoff errors in its construction,
361
+ wrap it in `Hermitian(A)` before passing it to `cholesky` in order to treat it as perfectly Hermitian.
362
+
357
363
When `check = true`, an error is thrown if the decomposition fails.
358
364
When `check = false`, responsibility for checking the decomposition's
359
365
validity (via [`issuccess`](@ref)) lies with the user.
You can’t perform that action at this time.
0 commit comments