-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
Definitions such as gemv! (https://github.com/JuliaLang/julia/blob/master/base/linalg/blas.jl#L553) restrict to StridedVecOrMat. This prevents user-defined types from calling these functions.
I think this restriction is unnecessary as a user AbstractMatrix which overrides the (as-of-yet not explicitly defined) strided matrix "interface" of unsafe_convert(::Type{Ptr{T}},A), and stride should be able to call gemv!.
To overcome this restriction, I end up having to copy and paste Base's code to make my own gemv!:
https://github.com/JuliaMatrices/BlockBandedMatrices.jl/blob/master/src/lapack.jl#L19
This is not too burdensome but seems unnecessary.
Metadata
Metadata
Assignees
Labels
No labels