Skip to content
Snippets Groups Projects

RAP-299 Add DiagonalMatrixComplexFloat2x2::Zero

Merged Mark de Wever requested to merge RAP-299-DiagonalMatrixComplexFloat2x2-Zero into master
2 files
+ 16
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -76,6 +76,11 @@ class DiagonalMatrixComplexFloat2x2 {
return Conjugate();
}
[[nodiscard]] [[gnu::target("avx2,fma")]] static DiagonalMatrixComplexFloat2x2
Zero() noexcept {
return {};
}
[[gnu::target("avx2,fma")]] DiagonalMatrixComplexFloat2x2 operator+=(
DiagonalMatrixComplexFloat2x2 value) noexcept {
return data_ += value.data_;
Loading