Skip to content

Commit

Permalink
Don't export axp(b)y! from LinearAlgebra.BLAS (#46851)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarrasch authored Oct 8, 2022
1 parent 95cfd62 commit 0d90a0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions stdlib/LinearAlgebra/docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,8 @@ LinearAlgebra.BLAS.rot!
LinearAlgebra.BLAS.scal!
LinearAlgebra.BLAS.scal
LinearAlgebra.BLAS.blascopy!
LinearAlgebra.BLAS.axpy!
LinearAlgebra.BLAS.axpby!
# xAXPY!
# xAXPBY!
LinearAlgebra.BLAS.dot
LinearAlgebra.BLAS.dotu
LinearAlgebra.BLAS.dotc
Expand Down
4 changes: 2 additions & 2 deletions stdlib/LinearAlgebra/src/blas.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export
scal!,
scal,
blascopy!,
axpy!,
axpby!,
# xAXPY!,
# xAXPBY!,
# xDOT
dotc,
dotu,
Expand Down
8 changes: 2 additions & 6 deletions stdlib/LinearAlgebra/src/generic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1419,9 +1419,7 @@ isdiag(x::Number) = true
axpy!(α, x::AbstractArray, y::AbstractArray)
Overwrite `y` with `x * α + y` and return `y`.
If `x` and `y` have the same axes, it's equivalent with `y .+= x .* a`
See also [`BLAS.axpy!`](@ref)
If `x` and `y` have the same axes, it's equivalent with `y .+= x .* a`.
# Examples
```jldoctest
Expand Down Expand Up @@ -1465,9 +1463,7 @@ end
axpby!(α, x::AbstractArray, β, y::AbstractArray)
Overwrite `y` with `x * α + y * β` and return `y`.
If `x` and `y` have the same axes, it's equivalent with `y .= x .* a .+ y .* β`
See also [`BLAS.axpby!`](@ref)
If `x` and `y` have the same axes, it's equivalent with `y .= x .* a .+ y .* β`.
# Examples
```jldoctest
Expand Down

0 comments on commit 0d90a0a

Please sign in to comment.