-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement methods for kron with a Diagonal argument (#30232)
* This implements methods for kron(::Diagonal, ::AbstractMatrix) and kron(::AbstractMatrix, ::Diagonal). These methods are typically twice as fast as the fallback methods when the other argument is a Matrix. * The test for the existing method for kron(::Diagonal, ::Diagonal) was missing the @test macro, probably inadvertently. I added the macro and checked that the test indeed passes.
- Loading branch information
1 parent
6175bd9
commit f81123f
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters