File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,17 @@ Matrix(F::BandedLU) = Array(AbstractArray(F))
79
79
Array (F:: BandedLU ) = Matrix (F)
80
80
81
81
# #
82
+ """
83
+ lu!(A::BandedMatrix, pivot = Val(true); check = true)
84
+
85
+ Compute the LU factorization of a banded matrix `A` inplace, overwriting the matrix.
86
+ This factorization requires `A` to have extra storage, and in particular if the banded
87
+ matrix of interest has bandwidths `(l, u)` then `A` should have bandwidths `(l, l+u)`
88
+ and contain the desired matrix along with zeros in the additional entries.
89
+
90
+ When `check = true`, an error is thrown if the factorization fails. When `check = false`
91
+ it is the user's responsibility for checking the validity of the factorization.
92
+ """
82
93
function lu! (A:: BandedMatrix{T} , pivot:: Union{Val{false}, Val{true}} = Val (true );
83
94
check:: Bool = true ) where T<: BlasFloat
84
95
if pivot === Val (false )
You can’t perform that action at this time.
0 commit comments