Skip to content

Commit 0d90a0a

Browse files
authored
Don't export axp(b)y! from LinearAlgebra.BLAS (#46851)
1 parent 95cfd62 commit 0d90a0a

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

stdlib/LinearAlgebra/docs/src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,8 +556,8 @@ LinearAlgebra.BLAS.rot!
556556
LinearAlgebra.BLAS.scal!
557557
LinearAlgebra.BLAS.scal
558558
LinearAlgebra.BLAS.blascopy!
559-
LinearAlgebra.BLAS.axpy!
560-
LinearAlgebra.BLAS.axpby!
559+
# xAXPY!
560+
# xAXPBY!
561561
LinearAlgebra.BLAS.dot
562562
LinearAlgebra.BLAS.dotu
563563
LinearAlgebra.BLAS.dotc

stdlib/LinearAlgebra/src/blas.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export
2020
scal!,
2121
scal,
2222
blascopy!,
23-
axpy!,
24-
axpby!,
23+
# xAXPY!,
24+
# xAXPBY!,
2525
# xDOT
2626
dotc,
2727
dotu,

stdlib/LinearAlgebra/src/generic.jl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,9 +1419,7 @@ isdiag(x::Number) = true
14191419
axpy!(α, x::AbstractArray, y::AbstractArray)
14201420
14211421
Overwrite `y` with `x * α + y` and return `y`.
1422-
If `x` and `y` have the same axes, it's equivalent with `y .+= x .* a`
1423-
1424-
See also [`BLAS.axpy!`](@ref)
1422+
If `x` and `y` have the same axes, it's equivalent with `y .+= x .* a`.
14251423
14261424
# Examples
14271425
```jldoctest
@@ -1465,9 +1463,7 @@ end
14651463
axpby!(α, x::AbstractArray, β, y::AbstractArray)
14661464
14671465
Overwrite `y` with `x * α + y * β` and return `y`.
1468-
If `x` and `y` have the same axes, it's equivalent with `y .= x .* a .+ y .* β`
1469-
1470-
See also [`BLAS.axpby!`](@ref)
1466+
If `x` and `y` have the same axes, it's equivalent with `y .= x .* a .+ y .* β`.
14711467
14721468
# Examples
14731469
```jldoctest

0 commit comments

Comments
 (0)