You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`bkfact!` is the same as [`bkfact`](@ref), but saves space by overwriting the
23
23
input `A`, instead of creating a copy.
@@ -43,14 +43,12 @@ end
43
43
"""
44
44
bkfact(A, rook::Bool=false) -> BunchKaufman
45
45
46
-
Compute the Bunch-Kaufman [^Bunch1977] factorization of a symmetric or Hermitian matrix `A` as ``PUDU'P`` or ``PLDL'P``, depending on which triangle is stored in `A`, and return a `BunchKaufman` object.
46
+
Compute the Bunch-Kaufman [^Bunch1977] factorization of a symmetric or Hermitian matrix `A` as ``P'*U*D*U'*P`` or ``P'*L*D*L'*P``, depending on which triangle is stored in `A`, and return a `BunchKaufman` object. Note that if `A` is complex symmetric then `U'` and `L'` denote the unconjugated transposes, i.e. `Transpose(U)` and `Transpose(L)`.
47
47
48
48
If `rook` is `true`, rook pivoting is used. If `rook` is false, rook pivoting is not used.
49
49
50
50
The following functions are available for `BunchKaufman` objects: [`size`](@ref), `\\`, [`inv`](@ref), [`issymmetric`](@ref), [`ishermitian`](@ref), [`getindex`](@ref).
51
51
52
-
Note that `P` is symmetric, so ``P=P⁻¹=P'``.
53
-
54
52
[^Bunch1977]: J R Bunch and L Kaufman, Some stable methods for calculating inertia and solving symmetric linear systems, Mathematics of Computation 31:137 (1977), 163-179. [url](http://www.ams.org/journals/mcom/1977-31-137/S0025-5718-1977-0428694-0/).
55
53
56
54
# Examples
@@ -117,7 +115,7 @@ end
117
115
getproperty(B::BunchKaufman, d::Symbol)
118
116
119
117
Extract the factors of the Bunch-Kaufman factorization `B`. The factorization can take the
120
-
two forms `P*L*D*L'*P` or `P*U*D*U'*P` (or `L*D*Transpose(L)` in the complex symmetric case)
118
+
two forms `P'*L*D*L'*P` or `P'*U*D*U'*P` (or `L*D*Transpose(L)` in the complex symmetric case)
121
119
where `P` is a (symmetric) permutation matrix, `L` is a `UnitLowerTriangular` matrix, `U` is a
122
120
`UnitUpperTriangular`, and `D` is a block diagonal symmetric or Hermitian matrix with
0 commit comments