-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support non-BLAS numeric types #10
Comments
The issue with mul! and Int32 doesn't occure in hessenberg where the type is casted to float, but for the generic method mul! defined for the skewhermitian "class" and tested in the testset "SkewLinearAlgebra.jl". Therefore matrices initialized with Int32 cannot be multiplied by vectors of that type. But this is not a big deal |
Can you be more specific? It seems to work for me: julia> A = rand(Int32, 5,5);
julia> mul!(similar(A), A, A)
5×5 Matrix{Int32}:
872558029 -2043782810 -384672508 -933696300 -2049908152
318733205 499145450 112310675 -184415062 631224005
-1714681140 -1813236787 -1986934138 -1833312600 -1243817060
830155170 -24749663 -1104103074 497580760 1956840138
-2101335698 1987201211 2016869374 306843582 -1894678931 |
That's because the arguments If you do |
Thank you very much! |
It would be good to support non-BLAS numeric types where possible, which may mean writing a simple reference fallback to some of the BLAS routines you are calling.
On the other hand, the Base
LinearAlgebra
package does not currently support this for the Hessenberg factorization, so it's not a deal-breaker.The text was updated successfully, but these errors were encountered: