Float32x4Extension extension

extension for Float32x4.

on

Properties

maxInLane double
Returns the maximum lane value.
no setter
minInLane double
Returns the minimum lane value.
no setter
sumLane double
Sum lane.
no setter
sumSquaresLane double
Sum lane squares.
no setter

Methods

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

Operators

operator ~/(Float32x4 other) Int32x4