Commit 8c39b06
Fix exa_linalg tests and enhance scalar-array operations
All 431 tests now pass with no errors.
Implementation fixes:
- Added norm methods for AbstractVector/AbstractMatrix to support SubArray/ReshapedArray
- Added det method for AbstractMatrix to support ReshapedArray
- Added 12 scalar-array multiplication methods (Matrix/Vector × AbstractNode, both directions)
- Added type conversion methods: convert(Null{T}, Null{S}), convert(Real, Null)
- Changed Matrix × Vector to throw DimensionMismatch instead of AssertionError
Test fixes:
- Updated dimension mismatch tests to expect DimensionMismatch (not AssertionError)
- Fixed type checks: adjoint/transpose return wrapper types (AbstractMatrix, not Matrix)
- Fixed reshape type check to accept AbstractMatrix (Julia may simplify to Matrix)
Documentation:
- Added comprehensive guide on "6 Minimal Operations for Linear Algebra Extension"
- Documented scalar iteration protocol and why custom implementations optimize performance
- Clarified what works natively vs what needs custom optimization
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 45873c6 commit 8c39b06
2 files changed
Lines changed: 527 additions & 235 deletions
0 commit comments