Skip to content

Commit b451d55

Browse files
tkffredrikekre
authored andcommitted
Add news and compat for mul!(C, A, B, α, β) (#32900)
1 parent c937638 commit b451d55

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Standard library changes
7474
* The BLAS submodule no longer exports `dot`, which conflicts with that in LinearAlgebra ([#31838]).
7575
* `diagm` and `spdiagm` now accept optional `m,n` initial arguments to specify a size ([#31654]).
7676
* `Hessenberg` factorizations `H` now support efficient shifted solves `(H+µI) \ b` and determinants, and use a specialized tridiagonal factorization for Hermitian matrices. There is also a new `UpperHessenberg` matrix type ([#31853]).
77+
* Five-argument `mul!(C, A, B, α, β)` now implements inplace multiplication fused with addition _C = A B α + C β_ ([#23919]).
7778

7879
#### SparseArrays
7980

stdlib/LinearAlgebra/src/matmul.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ Combined inplace matrix-matrix or matrix-vector multiply-add ``A B α + C β``.
202202
The result is stored in `C` by overwriting it. Note that `C` must not be
203203
aliased with either `A` or `B`.
204204
205+
!!! compat "Julia 1.3"
206+
Five-argument `mul!` requires at least Julia 1.3.
207+
205208
# Examples
206209
```jldoctest
207210
julia> A=[1.0 2.0; 3.0 4.0]; B=[1.0 1.0; 1.0 1.0]; C=[1.0 2.0; 3.0 4.0];

0 commit comments

Comments
 (0)