Skip to main content

Module ops

Module ops 

Source
Expand description

Operator traits behind the vector arithmetic, plus the masked _c / _m / _z forms of each.

The vector traits in this module’s parent list these as supertraits, so a V: NumericVector bound already carries +, -, * and their masked variants. Import from here only to name one directly, such as writing a generic bound on ops::Square or ops::BitAndNot alone.

Traits§

AddAssignMasked
Masked assignment variants of the Add trait.
AddMasked
Masked variants of the Add trait.
AddSubExt
Lane-alternating add/subtract operations for interleaved data (e.g. complex numbers packed as [re, im, re, im, ...]).
AddSubExtMasked
Masked variants of AddSubExt (mask-first argument order, matching the rest of Thermite’s _c/_m/_z surface).
AssignMaskedBitshiftOps
Combination of masked assignment binary operation traits for Bitshift operations.
AssignMaskedBitwiseOps
Combination of masked assignment binary operation traits for Bitwise operations.
AssignMaskedNumOps
Combination of masked assignment binary operation traits for Num operations.
BitAndAssignMasked
Masked assignment variants of the BitAnd trait.
BitAndMasked
Masked variants of the BitAnd trait.
BitAndNot
Trait for the bitwise AND NOT operation: self & !rhs
BitAndNotAssign
Trait for the bitwise AND NOT assignment operation: self &= !rhs
BitAndNotAssignMasked
Masked assignment variants of the BitAndNot trait.
BitAndNotMasked
Masked variants of the BitAndNot trait.
BitOrAssignMasked
Masked assignment variants of the BitOr trait.
BitOrMasked
Masked variants of the BitOr trait.
BitXorAssignMasked
Masked assignment variants of the BitXor trait.
BitXorMasked
Masked variants of the BitXor trait.
DivAssignMasked
Masked assignment variants of the Div trait.
DivMasked
Masked variants of the Div trait.
MaskedBitshiftOps
Combination of masked binary operation traits for Bitshift operations.
MaskedBitwiseOps
Combination of masked binary operation traits for Bitwise operations.
MaskedNumOps
Combination of masked binary operation traits for Num operations.
MulAddAssignExt
Provides assignment variants of the fused multiply-add operations from MulAddExt.
MulAddAssignExtMasked
Provides masked assignment variants of the fused multiply-add operations from MulAddExt.
MulAddExt
Trait for fused multiply-add operations. This contains all variants of fused multiply-add, including guaranteed FMA and maybe FMA versions.
MulAddExtMasked
Provides masked variants of the fused multiply-add operations from MulAddExt.
MulAssignMasked
Masked assignment variants of the Mul trait.
MulMasked
Masked variants of the Mul trait.
NegMasked
Masked variants of the Neg trait.
NotMasked
Masked variants of the Not trait.
RemAssignMasked
Masked assignment variants of the Rem trait.
RemMasked
Masked variants of the Rem trait.
ShlAssignMasked
Masked assignment variants of the Shl trait.
ShlMasked
Masked variants of the Shl trait.
ShrAssignMasked
Masked assignment variants of the Shr trait.
ShrMasked
Masked variants of the Shr trait.
Square
Trait for squaring a value: self * self
SquareMasked
Masked variants of the Square trait.
SubAssignMasked
Masked assignment variants of the Sub trait.
SubMasked
Masked variants of the Sub trait.