@@ -324,27 +324,51 @@ end
324324"""
325325$(TYPEDSIGNATURES)
326326
327- Drop in replacement for LU factorization.
328-
327+ Delegating LU factorization.
329328"""
330329function LinearAlgebra. lu (E:: ExtendableSparseMatrix )
331330 @inbounds flush! (E)
332331 return LinearAlgebra. lu (E. cscmatrix)
333332end
334333
334+ """
335+ $(SIGNATURES)
335336
337+ Delegating Matrix multiplication
338+ """
339+ function LinearAlgebra. mul! (r:: AbstractArray{T,1} where T, E:: ExtendableSparse.ExtendableSparseMatrix , x:: AbstractArray{T,1} where T)
340+ @inbounds flush! (E)
341+ return LinearAlgebra. mul! (r,E. cscmatrix,x)
342+ end
336343
337344
338345"""
339346$(SIGNATURES)
340347
341- Flush and delegate to cscmatrix.
348+ Delegating Matrix ldiv
342349"""
343- function LinearAlgebra. mul! (r:: AbstractArray{Tv,1} ,
344- E:: ExtendableSparse.ExtendableSparseMatrix{Tv,Ti} ,
345- x:: AbstractArray{Tv,1} ) where {Tv,Ti<: Integer }
350+ function LinearAlgebra. ldiv! (r:: AbstractArray{T,1} where T, E:: ExtendableSparse.ExtendableSparseMatrix , x:: AbstractArray{T,1} where T)
351+ @inbounds flush! (E)
352+ return LinearAlgebra. ldiv! (r,E. cscmatrix,x)
353+ end
354+
355+ """
356+ $(SIGNATURES)
357+
358+ Delegating Matrix multiplication
359+ """
360+ function LinearAlgebra. mul! (r:: AbstractArray{T,2} where T, E:: ExtendableSparse.ExtendableSparseMatrix , x:: AbstractArray{T,2} where T)
346361 @inbounds flush! (E)
347362 return LinearAlgebra. mul! (r,E. cscmatrix,x)
348363end
349364
350365
366+ """
367+ $(SIGNATURES)
368+
369+ Delegating Matrix ldiv
370+ """
371+ function LinearAlgebra. ldiv! (r:: AbstractArray{T,2} where T, E:: ExtendableSparse.ExtendableSparseMatrix , x:: AbstractArray{T,2} where T)
372+ @inbounds flush! (E)
373+ return LinearAlgebra. ldiv! (r,E. cscmatrix,x)
374+ end
0 commit comments