Commit e95aed3
peng.li24
Resolve issues 002 & 003: add 100-batch tests for linalg.solve and Rotation
Issue 002: linalg.solve
- Promote float32 inputs to float64 in module.cpp (Eigen3 float32 LU
differs from LAPACK sgesv; double-precision ensures bit-alignment)
- Add test_solve_batch (100 random matrices n=4..8)
- Add test_solve_large (10x10, 20x20)
- Add test_solve_ill_conditioned (cond ~1e6 boundary tests)
- Add assert_linalg_close helper (tolerates ULP-level Eigen3 vs LAPACK diffs)
Issue 003: Rotation
- Expand random tests from 10 to 100 iterations per Euler sequence
- Cover all 6 Tait-Bryan sequences: xyz, xzy, yxz, yzx, zxy, zyx
- Add gimbal lock boundary tests (beta ≈ ±pi/2)
- Add test_random_matrices (scipy.random round-trip)
- Add test_XYZ_intrinsic (uppercase intrinsic sequence)
Doc: rename 开发标准.txt → development_standards.txt (English)1 parent a017881 commit e95aed3
3 files changed
Lines changed: 728 additions & 311 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments