Skip to content

heterogeneous add#534

Merged
evaleev merged 2 commits intomasterfrom
feature/heterogeneous-add
Jan 14, 2026
Merged

heterogeneous add#534
evaleev merged 2 commits intomasterfrom
feature/heterogeneous-add

Conversation

@evaleev
Copy link
Member

@evaleev evaleev commented Jan 14, 2026

TA::add and Tensor::add{_to,} are concept checked and support mixed type operations, where possible, e.g. Tensor<std::complex<double>>::add(Tensor<double>) and Tensor<double>::add(Tensor<std::complex<double>) return Tensor<std::complex<double>.

@evaleev evaleev merged commit 386b568 into master Jan 14, 2026
9 checks passed
@evaleev evaleev deleted the feature/heterogeneous-add branch January 14, 2026 23:15
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