Skip to content

Conversation

@lenardrommel
Copy link
Collaborator

I enhanced and tested the kronecker linear operator as well as some other minor changes.

Copy link
Collaborator Author

@lenardrommel lenardrommel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the .vscode. I forgot to add that to the .gitignore.

@lenardrommel lenardrommel self-assigned this Sep 18, 2025
@lenardrommel lenardrommel requested a review from 2bys September 18, 2025 19:32
lenardrommel and others added 18 commits September 18, 2025 21:33
- Updated .gitignore to exclude additional local files.
- Introduced 'kron' function in _arithmetic.py for Kronecker product operations.
- Added 'as_dense' utility function in utils.py to convert linear operators to dense matrices.
- Implemented new test cases for isotropic additive linear operators and their properties.
- Enhanced existing tests for matrix operations and added cases for Kronecker products.
- Introduced a new test file `test_eigen.py` to validate EigenD and related operations.
- Enhanced existing tests in `test_isotropicadd.py` to include transformations of linear operators.
- Added a new test `test_kronecker_lsqrt_preserves_matmul` in `test_kronecker.py` to verify the behavior of the square root of Kronecker products.
- Expanded `test_utils.py` with various cases for block matrices, low-rank operators, isotropic scaling, and more.
- Ensured all tests check for shape and dense representation consistency across linear operators.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant