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§
- AddAssign
Masked - Masked assignment variants of the
Addtrait. - AddMasked
- Masked variants of the
Addtrait. - AddSub
Ext - Lane-alternating add/subtract operations for interleaved data (e.g. complex
numbers packed as
[re, im, re, im, ...]). - AddSub
ExtMasked - Masked variants of
AddSubExt(mask-first argument order, matching the rest of Thermite’s_c/_m/_zsurface). - Assign
Masked Bitshift Ops - Combination of masked assignment binary operation traits for Bitshift operations.
- Assign
Masked Bitwise Ops - Combination of masked assignment binary operation traits for Bitwise operations.
- Assign
Masked NumOps - Combination of masked assignment binary operation traits for Num operations.
- BitAnd
Assign Masked - Masked assignment variants of the
BitAndtrait. - BitAnd
Masked - Masked variants of the
BitAndtrait. - BitAnd
Not - Trait for the bitwise AND NOT operation:
self & !rhs - BitAnd
NotAssign - Trait for the bitwise AND NOT assignment operation:
self &= !rhs - BitAnd
NotAssign Masked - Masked assignment variants of the
BitAndNottrait. - BitAnd
NotMasked - Masked variants of the
BitAndNottrait. - BitOr
Assign Masked - Masked assignment variants of the
BitOrtrait. - BitOr
Masked - Masked variants of the
BitOrtrait. - BitXor
Assign Masked - Masked assignment variants of the
BitXortrait. - BitXor
Masked - Masked variants of the
BitXortrait. - DivAssign
Masked - Masked assignment variants of the
Divtrait. - DivMasked
- Masked variants of the
Divtrait. - Masked
Bitshift Ops - Combination of masked binary operation traits for Bitshift operations.
- Masked
Bitwise Ops - Combination of masked binary operation traits for Bitwise operations.
- Masked
NumOps - Combination of masked binary operation traits for Num operations.
- MulAdd
Assign Ext - Provides assignment variants of the fused multiply-add operations from
MulAddExt. - MulAdd
Assign ExtMasked - Provides masked assignment variants of the fused multiply-add operations from
MulAddExt. - MulAdd
Ext - Trait for fused multiply-add operations. This contains all variants of fused multiply-add, including guaranteed FMA and maybe FMA versions.
- MulAdd
ExtMasked - Provides masked variants of the fused multiply-add operations from
MulAddExt. - MulAssign
Masked - Masked assignment variants of the
Multrait. - MulMasked
- Masked variants of the
Multrait. - NegMasked
- Masked variants of the
Negtrait. - NotMasked
- Masked variants of the
Nottrait. - RemAssign
Masked - Masked assignment variants of the
Remtrait. - RemMasked
- Masked variants of the
Remtrait. - ShlAssign
Masked - Masked assignment variants of the
Shltrait. - ShlMasked
- Masked variants of the
Shltrait. - ShrAssign
Masked - Masked assignment variants of the
Shrtrait. - ShrMasked
- Masked variants of the
Shrtrait. - Square
- Trait for squaring a value:
self * self - Square
Masked - Masked variants of the
Squaretrait. - SubAssign
Masked - Masked assignment variants of the
Subtrait. - SubMasked
- Masked variants of the
Subtrait.