Skip to content

Commit b937740

Browse files
committed
minor docs polish
1 parent 89743c6 commit b937740

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

docs/src/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ SparseArrays.blockdiag
9292
Base.:*(::LinearMap,::AbstractVector)
9393
Base.:*(::LinearMap,::AbstractMatrix)
9494
Base.:*(::AbstractMatrix,::LinearMap)
95+
LinearAlgebra.mul!(::AbstractVecOrMat,::LinearMap,::AbstractVector)
9596
LinearAlgebra.mul!(::AbstractMatrix,::LinearMap,::AbstractMatrix)
96-
LinearAlgebra.mul!(::AbstractVecOrMat,::LinearMap,::AbstractVector,::Number,::Number)
9797
*(::LinearAlgebra.AdjointAbsVec,::LinearMap)
9898
*(::LinearAlgebra.TransposeAbsVec,::LinearMap)
9999
```

src/blockmap.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,25 +460,23 @@ for k in 1:8 # is 8 sufficient?
460460
end
461461
end
462462

463-
import SparseArrays: blockdiag
464463
"""
465464
blockdiag(As::Union{LinearMap,AbstractMatrix}...)::BlockDiagonalMap
466465
467466
Construct a (lazy) representation of the diagonal concatenation of the arguments.
468467
To avoid fallback to the generic `SparseArrays.blockdiag`, there must be a `LinearMap`
469468
object among the first 8 arguments.
470469
"""
471-
function blockdiag end
470+
SparseArrays.blockdiag
472471

473-
import Base: cat
474472
"""
475473
cat(As::Union{LinearMap,AbstractMatrix}...; dims=(1,2))::BlockDiagonalMap
476474
477475
Construct a (lazy) representation of the diagonal concatenation of the arguments.
478476
To avoid fallback to the generic `Base.cat`, there must be a `LinearMap`
479477
object among the first 8 arguments.
480478
"""
481-
function cat end
479+
Base.cat
482480

483481
Base.size(A::BlockDiagonalMap) = (last(A.rowranges[end]), last(A.colranges[end]))
484482

0 commit comments

Comments
 (0)