|
63 | 63 |
|
64 | 64 | # (2) map[!] entry points
|
65 | 65 | map{Tf}(f::Tf, A::SparseVecOrMat) = _noshapecheck_map(f, A)
|
| 66 | +map{Tf,N}(f::Tf, A::SparseMatrixCSC, Bs::Vararg{SparseMatrixCSC,N}) = |
| 67 | + (_checksameshape(A, Bs...); _noshapecheck_map(f, A, Bs...)) |
66 | 68 | map{Tf,N}(f::Tf, A::SparseVecOrMat, Bs::Vararg{SparseVecOrMat,N}) =
|
67 | 69 | (_checksameshape(A, Bs...); _noshapecheck_map(f, A, Bs...))
|
| 70 | +map!{Tf,N}(f::Tf, C::SparseMatrixCSC, A::SparseMatrixCSC, Bs::Vararg{SparseMatrixCSC,N}) = |
| 71 | + (_checksameshape(C, A, Bs...); _noshapecheck_map!(f, C, A, Bs...)) |
68 | 72 | map!{Tf,N}(f::Tf, C::SparseVecOrMat, A::SparseVecOrMat, Bs::Vararg{SparseVecOrMat,N}) =
|
69 | 73 | (_checksameshape(C, A, Bs...); _noshapecheck_map!(f, C, A, Bs...))
|
70 | 74 | function _noshapecheck_map!{Tf,N}(f::Tf, C::SparseVecOrMat, A::SparseVecOrMat, Bs::Vararg{SparseVecOrMat,N})
|
|
0 commit comments