Add complex<dual<T,N>> Eigen support, fix rpart bug
Summary
- Add matrix-level
rpart/dpart/dconjfunctors forcomplex<dual<T,N>>inmultidual_eigen. - Fix
rpart(complex<dual<T,N>>)— was returningdual<T,N>(x.real()), now correctly returnscomplex<T>matching the originaldualheader. - Add 4 Eigen integration tests: rpart/dpart for dual and complex-dual matrices, scalar promotion, matrix multiply.
- Bump version to 0.8.2.
Test plan
- 450/450 tests pass (4 new Eigen integration tests)
- expm benchmarks build and run with both old and new targets