Int32x4Extension extension

extension for Int32x4.

on

Properties

maxInLane int
Returns the maximum lane value.
no setter
minInLane int
Returns the minimal lane value.
no setter
sumLane int
Sum lane.
no setter
sumSquaresLane int
Sum lane squares.
no setter

Methods

equalsValues(Int32x4 other, {num tolerance = 0.0}) bool
Returns true if equals to other values.
filter(Int32x4 mapper(Int32x4 e)) Int32x4
Filter this with mapper.
filterToDoubleValues(double mapper(int e)) Float32x4
Filter each value with mapper and return a Float32x4.
filterValues(int mapper(int e)) Int32x4
Filter each value with mapper and return a Int32x4.
map<T>(T mapper(Int32x4 e)) → T
Map using mapper.
sumLanePartial(int size) int
Sum part of the lane, until size.
sumSquaresLanePartial(int size) int
Sum part of the lane squares, until size.
toFloat32x4() Float32x4
Converts to a Float32x4.
toInts() List<int>
Returns values as List<int>.

Operators

operator *(Int32x4 other) Int32x4
operator ~/(Int32x4 other) Int32x4