Skip to content

Commit e367ff1

Browse files
authored
Fix forgotten conj(alpha) in her2k documentation (#1480)
1 parent 434a9cf commit e367ff1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/blas.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2102,7 +2102,7 @@ end
21022102
her2k!(uplo, trans, alpha, A, B, beta, C)
21032103
21042104
Rank-2k update of the Hermitian matrix `C` as
2105-
`alpha*A*B' + alpha*B*A' + beta*C` or `alpha*A'*B + alpha*B'*A + beta*C`
2105+
`alpha*A*B' + alpha'*B*A' + beta*C` or `alpha*A'*B + alpha'*B'*A + beta*C`
21062106
according to [`trans`](@ref stdlib-blas-trans). The scalar `beta` has to be real.
21072107
Only the [`uplo`](@ref stdlib-blas-uplo) triangle of `C` is used. Return `C`.
21082108
"""
@@ -2111,8 +2111,8 @@ function her2k! end
21112111
"""
21122112
her2k(uplo, trans, alpha, A, B)
21132113
2114-
Return the [`uplo`](@ref stdlib-blas-uplo) triangle of `alpha*A*B' + alpha*B*A'`
2115-
or `alpha*A'*B + alpha*B'*A`, according to [`trans`](@ref stdlib-blas-trans).
2114+
Return the [`uplo`](@ref stdlib-blas-uplo) triangle of `alpha*A*B' + alpha'*B*A'`
2115+
or `alpha*A'*B + alpha'*B'*A`, according to [`trans`](@ref stdlib-blas-trans).
21162116
"""
21172117
her2k(uplo, trans, alpha, A, B)
21182118

0 commit comments

Comments
 (0)