Repository navigation
Commit adf4529
feat|test: Add eigSH for symmetric/Hermitian eigendecomposition
Adds `eigSH` via a new `af_eigsh` C wrapper (cbits/eigsh.c) that calls
cuSOLVER on CUDA backends and falls back to SVD on CPU/OpenCL. Includes
unit and property-based tests covering eigenvalue ordering, eigenvector
orthonormality, and full matrix reconstruction. Also fixes minor test
description duplicates in ArithSpec and ArraySpec.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 23b5db0 commit adf4529
7 files changed
Lines changed: 512 additions & 12 deletions
File tree
- cbits
- src/ArrayFire
- Internal
- test/ArrayFire
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| |||
0 commit comments