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
Update docstring of bkfact and related getindex. (#25185)
* Update docstring of bkfact and related getindex.
To be compatible with 88e7fbc.
Also include the actual decomposition format. Fix missing permutation
matrix in the `getindex` docstring.
* Removed transpose from second permutation matrix.
Also mention properties of permutation matrix in docstring.
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.
47
+
48
+
If `rook` is `true`, rook pivoting is used. If `rook` is false, rook pivoting is not used.
49
+
50
+
The following functions are available for `BunchKaufman` objects: [`size`](@ref), `\\`, [`inv`](@ref), [`issymmetric`](@ref), [`ishermitian`](@ref), [`getindex`](@ref).
51
+
52
+
Note that `P` is symmetric, so ``P=P⁻¹=P'``.
54
53
55
54
[^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/).
56
55
@@ -118,9 +117,11 @@ end
118
117
getproperty(B::BunchKaufman, d::Symbol)
119
118
120
119
Extract the factors of the Bunch-Kaufman factorization `B`. The factorization can take the
121
-
two forms `L*D*L'` or `U*D*U'` (or `L*D*Transpose(L)` in the complex symmetric case) where `L` is a
122
-
`UnitLowerTriangular` matrix, `U` is a `UnitUpperTriangular`, and `D` is a block diagonal
123
-
symmetric or Hermitian matrix with 1x1 or 2x2 blocks. The argument `d` can be
120
+
two forms `P*L*D*L'*P` or `P*U*D*U'*P` (or `L*D*Transpose(L)` in the complex symmetric case)
121
+
where `P` is a (symmetric) permutation matrix, `L` is a `UnitLowerTriangular` matrix, `U` is a
122
+
`UnitUpperTriangular`, and `D` is a block diagonal symmetric or Hermitian matrix with
123
+
1x1 or 2x2 blocks. The argument `d` can be
124
+
124
125
- `:D`: the block diagonal matrix
125
126
- `:U`: the upper triangular factor (if factorization is `U*D*U'`)
126
127
- `:L`: the lower triangular factor (if factorization is `L*D*L'`)
0 commit comments