Results 41 - 60 of 66

SIMD.%type%.mul()

The static SIMD.%type%.mul() method returns a new instance with the lane values multiplied (a * b).
Experimental JavaScript Method SIMD

SIMD.%type%.neg()

The static SIMD.%type%.mul() method returns a new instance with the lane values negated.
Experimental JavaScript Method SIMD

SIMD.%type%.notEqual()

The static SIMD.%type%.notEqual() method returns a selection mask with values depending on an inequality comparison (a != b) in each lane.
Experimental JavaScript Method SIMD

SIMD.%type%.or()

The static SIMD.%type%.or() method returns a new instance with the logical OR of the lane values (a | b). This operation exists only on integer and boolean SIMD types.
Experimental JavaScript Method SIMD

SIMD.%type%.reciprocalApproximation()

The static SIMD.%type%.reciprocalApproximation() method returns a new instance with an approximation of the reciprocal lane values (1 / x).
Experimental JavaScript Method SIMD

SIMD.%type%.reciprocalSqrtApproximation()

The static SIMD.%type%.reciprocalSqrtApproximation() method returns a new instance with an approximation of the reciprocal value (1 / x) of the square root (Math.sqrt()) of the lane values.
Experimental JavaScript Method SIMD

SIMD.%type%.replaceLane()

The static SIMD.%type%.replaceLane() method returns a new SIMD data type with the given lane value replaced.
Experimental JavaScript Method SIMD

SIMD.%type%.select()

The static SIMD.%type%.select() method creates a new integer SIMD data type with the lane values being a selection match from a selector mask.
Experimental JavaScript Method SIMD

SIMD.%type%.shiftLeftByScalar()

The static SIMD.%type%.shiftLeftByScalar() method returns a new instance with the lane values shifted left by a given bit count (a << bits).
Experimental JavaScript Method SIMD

SIMD.%type%.shiftRightByScalar()

The static SIMD.%type%.shiftRightByScalar() method returns a new instance with the lane values shifted right. Depending on the type, these operations are used:
Experimental JavaScript Method SIMD

SIMD.%type%.shuffle()

The static SIMD.%type%.shuffle() method creates a new SIMD data type instance with the lane values shuffled.
Experimental JavaScript Method SIMD

SIMD.%type%.splat()

The static SIMD.%type%.splat() method creates a new SIMD data type with all lanes set to a given value.
Experimental JavaScript Method SIMD

SIMD.%type%.sqrt()

The static SIMD.%type%.sqrt() method returns a new instance with the square root of the lane values (see also Math.sqrt() for the same scalar function).
Experimental JavaScript Method SIMD

SIMD.%type%.store()

The static SIMD.%type%.store() methods store a SIMD data type into a typed array.
Experimental JavaScript Method SIMD

SIMD.%type%.sub()

The static SIMD.%type%.sub() method returns a new instance with the lane values subtracted (a - b).
Experimental JavaScript Method SIMD

SIMD.%type%.subSaturate()

The static SIMD.%type%.subSaturate() method returns a new instance with the lane values subtracted (a - b) and saturating behavior on overflow.
Experimental JavaScript Method SIMD

SIMD.%type%.swizzle()

The static SIMD.%type%.swizzle() method creates a new SIMD data type instance with the lane values swizzled (re-ordered).
Experimental JavaScript Method SIMD

SIMD.%type%.prototype.toString()

The SIMD.%type%.toString() method returns a String representing a SIMD object.
Experimental JavaScript Method SIMD

SIMD.%type%.prototype.valueOf()

The SIMD.%type%.valueOf() method performs a type check returns the this value.
Experimental JavaScript Method SIMD

SIMD.%type%.xor()

The static SIMD.%type%.xor() method returns a new instance with the logical XOR of the lane values (a ^ b).
Experimental JavaScript Method SIMD