Skip to content

Commit

Permalink
Add a method for kfill!
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Oct 16, 2024
1 parent 84079a9 commit 37fd211
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/krylov_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ kcopy!(n :: Integer, x :: Vector{T}, dx :: Integer, y :: Vector{T}, dy :: Intege
kcopy!(n :: Integer, x :: AbstractVector{T}, dx :: Integer, y :: AbstractVector{T}, dy :: Integer) where T <: FloatOrComplex = copyto!(y, x)

kfill!(x :: AbstractVector{T}, val :: T) where T <: FloatOrComplex = fill!(x, val)
kfill!(X :: AbstractMatrix{T}, val :: T) where T <: FloatOrComplex = fill!(X, val)

kgeqrf!(A :: AbstractMatrix{T}, tau :: AbstractVector{T}) where T <: BLAS.BlasFloat = LAPACK.geqrf!(A, tau)
korgqr!(A :: AbstractMatrix{T}, tau :: AbstractVector{T}) where T <: BLAS.BlasFloat = LAPACK.orgqr!(A, tau)
Expand Down

0 comments on commit 37fd211

Please sign in to comment.