Operators
Usage
use Vector.Operators;
or
import Vector.Operators;
- operator +(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR + VECTOR
See
Intrin.add
for the intrinsic used.
- operator +=(ref x: vector(?eltType, ?numElts), y: x.type)
Implements
VECTOR += VECTOR
See
Intrin.add
for the intrinsic used.
- operator +(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR + SCALAR
See
Intrin.add
for the intrinsic used.
- operator +=(ref x: vector(?eltType, ?numElts), y: ?scalarType) where isCoercible(scalarType, eltType)
Implements
VECTOR += SCALAR
See
Intrin.add
for the intrinsic used.
- operator +(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR + VECTOR
See
Intrin.add
for the intrinsic used.
- operator -(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR - VECTOR
See
Intrin.sub
for the intrinsic used.
- operator -=(ref x: vector(?eltType, ?numElts), y: x.type)
Implements
VECTOR -= VECTOR
See
Intrin.sub
for the intrinsic used.
- operator -(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR - SCALAR
See
Intrin.sub
for the intrinsic used.
- operator -=(ref x: vector(?eltType, ?numElts), y: ?scalarType) where isCoercible(scalarType, eltType)
Implements
VECTOR -= SCALAR
See
Intrin.sub
for the intrinsic used.
- operator -(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR - VECTOR
See
Intrin.sub
for the intrinsic used.
- operator *(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR * VECTOR
See
Intrin.mul
for the intrinsic used.
- operator *=(ref x: vector(?eltType, ?numElts), y: x.type)
Implements
VECTOR *= VECTOR
See
Intrin.mul
for the intrinsic used.
- operator *(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR * SCALAR
See
Intrin.mul
for the intrinsic used.
- operator *=(ref x: vector(?eltType, ?numElts), y: ?scalarType) where isCoercible(scalarType, eltType)
Implements
VECTOR *= SCALAR
See
Intrin.mul
for the intrinsic used.
- operator *(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR * VECTOR
See
Intrin.mul
for the intrinsic used.
- operator /(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR / VECTOR
See
Intrin.div
for the intrinsic used.
- operator /=(ref x: vector(?eltType, ?numElts), y: x.type)
Implements
VECTOR /= VECTOR
See
Intrin.div
for the intrinsic used.
- operator /(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR / SCALAR
See
Intrin.div
for the intrinsic used.
- operator /=(ref x: vector(?eltType, ?numElts), y: ?scalarType) where isCoercible(scalarType, eltType)
Implements
VECTOR /= SCALAR
See
Intrin.div
for the intrinsic used.
- operator /(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR / VECTOR
See
Intrin.div
for the intrinsic used.
- operator -(x: vector(?eltType, ?numElts)) : x.type
Implements
VECTOR -
See
Intrin.neg
for the intrinsic used.
- operator &(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR & VECTOR
See
Intrin.and
for the intrinsic used.
- operator &=(ref x: vector(?eltType, ?numElts), y: x.type)
Implements
VECTOR &= VECTOR
See
Intrin.and
for the intrinsic used.
- operator &(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR & SCALAR
See
Intrin.and
for the intrinsic used.
- operator &=(ref x: vector(?eltType, ?numElts), y: ?scalarType) where isCoercible(scalarType, eltType)
Implements
VECTOR &= SCALAR
See
Intrin.and
for the intrinsic used.
- operator &(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR & VECTOR
See
Intrin.and
for the intrinsic used.
- operator |(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR | VECTOR
See
Intrin.or
for the intrinsic used.
- operator |=(ref x: vector(?eltType, ?numElts), y: x.type)
Implements
VECTOR |= VECTOR
See
Intrin.or
for the intrinsic used.
- operator |(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR | SCALAR
See
Intrin.or
for the intrinsic used.
- operator |=(ref x: vector(?eltType, ?numElts), y: ?scalarType) where isCoercible(scalarType, eltType)
Implements
VECTOR |= SCALAR
See
Intrin.or
for the intrinsic used.
- operator |(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR | VECTOR
See
Intrin.or
for the intrinsic used.
- operator ^(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR ^ VECTOR
See
Intrin.xor
for the intrinsic used.
- operator ^=(ref x: vector(?eltType, ?numElts), y: x.type)
Implements
VECTOR ^= VECTOR
See
Intrin.xor
for the intrinsic used.
- operator ^(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR ^ SCALAR
See
Intrin.xor
for the intrinsic used.
- operator ^=(ref x: vector(?eltType, ?numElts), y: ?scalarType) where isCoercible(scalarType, eltType)
Implements
VECTOR ^= SCALAR
See
Intrin.xor
for the intrinsic used.
- operator ^(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR ^ VECTOR
See
Intrin.xor
for the intrinsic used.
- operator ~(x: vector(?eltType, ?numElts)) : x.type
Implements
VECTOR ~
See
Intrin.not
for the intrinsic used.
- operator >>(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR >> VECTOR
See
Intrin.shiftRight
for the intrinsic used.
- operator >>=(ref x: vector(?eltType, ?numElts), y: x.type)
Implements
VECTOR >>= VECTOR
See
Intrin.shiftRight
for the intrinsic used.
- operator >>(x: vector(?eltType, ?numElts), param imm: int) : x.type
Implements
VECTOR >> IMMEDIATE
See
Intrin.shiftRight
for the intrinsic used.
- operator >>=(ref x: vector(?eltType, ?numElts), param imm: int)
Implements
VECTOR >>= IMMEDIATE
See
Intrin.shiftRight
for the intrinsic used.
- operator <<(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR << VECTOR
See
Intrin.shiftLeft
for the intrinsic used.
- operator <<=(ref x: vector(?eltType, ?numElts), y: x.type)
Implements
VECTOR <<= VECTOR
See
Intrin.shiftLeft
for the intrinsic used.
- operator <<(x: vector(?eltType, ?numElts), param imm: int) : x.type
Implements
VECTOR << IMMEDIATE
See
Intrin.shiftLeft
for the intrinsic used.
- operator <<=(ref x: vector(?eltType, ?numElts), param imm: int)
Implements
VECTOR <<= IMMEDIATE
See
Intrin.shiftLeft
for the intrinsic used.
- operator ==(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR == VECTOR
See
Intrin.cmpEq
for the intrinsic used.
- operator ==(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR == SCALAR
See
Intrin.cmpEq
for the intrinsic used.
- operator ==(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR == VECTOR
See
Intrin.cmpEq
for the intrinsic used.
- operator !=(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR != VECTOR
See
Intrin.cmpNe
for the intrinsic used.
- operator !=(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR != SCALAR
See
Intrin.cmpNe
for the intrinsic used.
- operator !=(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR != VECTOR
See
Intrin.cmpNe
for the intrinsic used.
- operator <(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR < VECTOR
See
Intrin.cmpLt
for the intrinsic used.
- operator <(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR < SCALAR
See
Intrin.cmpLt
for the intrinsic used.
- operator <(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR < VECTOR
See
Intrin.cmpLt
for the intrinsic used.
- operator <=(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR <= VECTOR
See
Intrin.cmpLe
for the intrinsic used.
- operator <=(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR <= SCALAR
See
Intrin.cmpLe
for the intrinsic used.
- operator <=(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR <= VECTOR
See
Intrin.cmpLe
for the intrinsic used.
- operator >(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR > VECTOR
See
Intrin.cmpGt
for the intrinsic used.
- operator >(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR > SCALAR
See
Intrin.cmpGt
for the intrinsic used.
- operator >(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR > VECTOR
See
Intrin.cmpGt
for the intrinsic used.
- operator >=(x: vector(?eltType, ?numElts), y: x.type) : x.type
Implements
VECTOR >= VECTOR
See
Intrin.cmpGe
for the intrinsic used.
- operator >=(x: vector(?eltType, ?numElts), y: ?scalarType) : x.type where isCoercible(scalarType, eltType)
Implements
VECTOR >= SCALAR
See
Intrin.cmpGe
for the intrinsic used.
- operator >=(x: ?scalarType, y: vector(?eltType, ?numElts)) : y.type where isCoercible(scalarType, eltType)
Implements
SCALAR >= VECTOR
See
Intrin.cmpGe
for the intrinsic used.