Skip to content

Commit

Permalink
Add BLAS.dot and axpby! to manual
Browse files Browse the repository at this point in the history
And fix the doctests in the docstrings.
  • Loading branch information
mortenpi committed Jun 26, 2019
1 parent 1362029 commit cc072b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions stdlib/LinearAlgebra/docs/src/index.md
Expand Up @@ -520,12 +520,14 @@ the input argument belongs on (`side`). The possibilities are:

```@docs
LinearAlgebra.BLAS
LinearAlgebra.BLAS.dot
LinearAlgebra.BLAS.dotu
LinearAlgebra.BLAS.dotc
LinearAlgebra.BLAS.blascopy!
LinearAlgebra.BLAS.nrm2
LinearAlgebra.BLAS.asum
LinearAlgebra.axpy!
LinearAlgebra.axpby!
LinearAlgebra.BLAS.scal!
LinearAlgebra.BLAS.scal
LinearAlgebra.BLAS.iamax
Expand Down
8 changes: 4 additions & 4 deletions stdlib/LinearAlgebra/src/blas.jl
Expand Up @@ -238,7 +238,7 @@ Dot product of two vectors consisting of `n` elements of array `X` with stride `
# Examples
```jldoctest
julia> dot(10, fill(1.0, 10), 1, fill(1.0, 20), 2)
julia> BLAS.dot(10, fill(1.0, 10), 1, fill(1.0, 20), 2)
10.0
```
"""
Expand Down Expand Up @@ -495,9 +495,9 @@ julia> y = [4., 5, 6];
julia> BLAS.axpby!(2., x, 3., y)
3-element Array{Float64,1}:
14.0
19.0
24.0
14.0
19.0
24.0
```
"""
function axpby! end
Expand Down

0 comments on commit cc072b8

Please sign in to comment.