description

# Float32x4 class abstract final

Four 32-bit floating point values.

Float32x4 stores four 32-bit floating point values in "lanes". The lanes are named x, y, z, and w respectively.

Single operations can be performed on the multiple values of one or more `Float32x4`s, which will perform the corresponding operation for each lane of the operands, and provide a new `Float32x4` (or similar multi-value) result with the results from each lane.

The `Float32x4` class cannot be extended or implemented.

## Constructors

Float32x4(double x, double y, double z, double w)
  Creates a `Float32x4` containing the 32-bit float values of the arguments.
  factory
Float32x4.fromFloat64x2(Float64x2 xy)
  Creates a `Float32x4` with its x and y lanes set to values from `xy`.
  factory
Float32x4.fromInt32x4Bits(Int32x4 bits)
  Creates a `Float32x4` with 32-bit float values from the provided bits.
  factory
Float32x4.splat(double value)
  Creates a `Float32x4` with the same 32-bit float value four times.
  factory
Float32x4.zero()
  Creates a `Float32x4` with all values being zero.
  factory

## Properties

hashCode → int
  The hash code for this object.
  no setterinherited
runtimeType → Type
  A representation of the runtime type of the object.
  no setterinherited
signMask → int
  The sign bits of each lane as single bits.
  no setter
w → double
  The value of the "w" lane.
  no setter
x → double
  The value of the "x" lane.
  no setter
y → double
  The value of the "y" lane.
  no setter
z → double
  The value of the "z" lane.
  no setter

## Methods

abs() → Float32x4
  Lane-wise conversion to absolute value.
clamp(Float32x4 lowerLimit, Float32x4 upperLimit) → Float32x4
  Lane-wise clamp to a range.
equal(Float32x4 other) → Int32x4
  Lane-wise equals comparison.
greaterThan(Float32x4 other) → Int32x4
  Lane-wise greater-than comparison.
greaterThanOrEqual(Float32x4 other) → Int32x4
  Lane-wise greater-than-or-equal comparison.
lessThan(Float32x4 other) → Int32x4
  Lane-wise less-than comparison.
lessThanOrEqual(Float32x4 other) → Int32x4
  Lane-wise less-than-or-equal comparison.
max(Float32x4 other) → Float32x4
  Lane-wise maximum.
min(Float32x4 other) → Float32x4
  Lane-wise minimum.
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
notEqual(Float32x4 other) → Int32x4
  Lane-wise not-equals comparison.
reciprocal() → Float32x4
  Lane-wise reciprocal.
reciprocalSqrt() → Float32x4
  Lane-wise approximation of reciprocal square root.
scale(double scale) → Float32x4
  Lane-wise multiplication by `scale`.
shuffle(int mask) → Float32x4
  Shuffle the lane values based on the `mask`.
shuffleMix(Float32x4 other, int mask) → Float32x4
  Mixes lanes chosen from two Float32x4 values using a `mask`.
sqrt() → Float32x4
  Lane-wise square root.
toString() → String
  A string representation of this object.
  inherited
withW(double w) → Float32x4
  This value, but with the value of the Float32x4.w lane set to `w`.
withX(double x) → Float32x4
  This value, but with the value of the Float32x4.x lane set to `x`.
withY(double y) → Float32x4
  This value, but with the value of the Float32x4.y lane set to `y`.
withZ(double z) → Float32x4
  This value, but with the value of the Float32x4.z lane set to `z`.

## Operators

operator *(Float32x4 other) → Float32x4
  Lane-wise multiplication.
operator +(Float32x4 other) → Float32x4
  Lane-wise addition.
operator -(Float32x4 other) → Float32x4
  Lane-wise subtraction.
operator /(Float32x4 other) → Float32x4
  Lane-wise division.
operator ==(Object other) → bool
  The equality operator.
  inherited
operator unary-() → Float32x4
  Lane-wise negation.

## Constants

wwww → const int
  Shuffle mask "wwww".
wwwx → const int
  Shuffle mask "wwwx".
wwwy → const int
  Shuffle mask "wwwy".
wwwz → const int
  Shuffle mask "wwwz".
wwxw → const int
  Shuffle mask "wwxw".
wwxx → const int
  Shuffle mask "wwxx".
wwxy → const int
  Shuffle mask "wwxy".
wwxz → const int
  Shuffle mask "wwxz".
wwyw → const int
  Shuffle mask "wwyw".
wwyx → const int
  Shuffle mask "wwyx".
wwyy → const int
  Shuffle mask "wwyy".
wwyz → const int
  Shuffle mask "wwyz".
wwzw → const int
  Shuffle mask "wwzw".
wwzx → const int
  Shuffle mask "wwzx".
wwzy → const int
  Shuffle mask "wwzy".
wwzz → const int
  Shuffle mask "wwzz".
wxww → const int
  Shuffle mask "wxww".
wxwx → const int
  Shuffle mask "wxwx".
wxwy → const int
  Shuffle mask "wxwy".
wxwz → const int
  Shuffle mask "wxwz".
wxxw → const int
  Shuffle mask "wxxw".
wxxx → const int
  Shuffle mask "wxxx".
wxxy → const int
  Shuffle mask "wxxy".
wxxz → const int
  Shuffle mask "wxxz".
wxyw → const int
  Shuffle mask "wxyw".
wxyx → const int
  Shuffle mask "wxyx".
wxyy → const int
  Shuffle mask "wxyy".
wxyz → const int
  Shuffle mask "wxyz".
wxzw → const int
  Shuffle mask "wxzw".
wxzx → const int
  Shuffle mask "wxzx".
wxzy → const int
  Shuffle mask "wxzy".
wxzz → const int
  Shuffle mask "wxzz".
wyww → const int
  Shuffle mask "wyww".
wywx → const int
  Shuffle mask "wywx".
wywy → const int
  Shuffle mask "wywy".
wywz → const int
  Shuffle mask "wywz".
wyxw → const int
  Shuffle mask "wyxw".
wyxx → const int
  Shuffle mask "wyxx".
wyxy → const int
  Shuffle mask "wyxy".
wyxz → const int
  Shuffle mask "wyxz".
wyyw → const int
  Shuffle mask "wyyw".
wyyx → const int
  Shuffle mask "wyyx".
wyyy → const int
  Shuffle mask "wyyy".
wyyz → const int
  Shuffle mask "wyyz".
wyzw → const int
  Shuffle mask "wyzw".
wyzx → const int
  Shuffle mask "wyzx".
wyzy → const int
  Shuffle mask "wyzy".
wyzz → const int
  Shuffle mask "wyzz".
wzww → const int
  Shuffle mask "wzww".
wzwx → const int
  Shuffle mask "wzwx".
wzwy → const int
  Shuffle mask "wzwy".
wzwz → const int
  Shuffle mask "wzwz".
wzxw → const int
  Shuffle mask "wzxw".
wzxx → const int
  Shuffle mask "wzxx".
wzxy → const int
  Shuffle mask "wzxy".
wzxz → const int
  Shuffle mask "wzxz".
wzyw → const int
  Shuffle mask "wzyw".
wzyx → const int
  Shuffle mask "wzyx".
wzyy → const int
  Shuffle mask "wzyy".
wzyz → const int
  Shuffle mask "wzyz".
wzzw → const int
  Shuffle mask "wzzw".
wzzx → const int
  Shuffle mask "wzzx".
wzzy → const int
  Shuffle mask "wzzy".
wzzz → const int
  Shuffle mask "wzzz".
xwww → const int
  Shuffle mask "xwww".
xwwx → const int
  Shuffle mask "xwwx".
xwwy → const int
  Shuffle mask "xwwy".
xwwz → const int
  Shuffle mask "xwwz".
xwxw → const int
  Shuffle mask "xwxw".
xwxx → const int
  Shuffle mask "xwxx".
xwxy → const int
  Shuffle mask "xwxy".
xwxz → const int
  Shuffle mask "xwxz".
xwyw → const int
  Shuffle mask "xwyw".
xwyx → const int
  Shuffle mask "xwyx".
xwyy → const int
  Shuffle mask "xwyy".
xwyz → const int
  Shuffle mask "xwyz".
xwzw → const int
  Shuffle mask "xwzw".
xwzx → const int
  Shuffle mask "xwzx".
xwzy → const int
  Shuffle mask "xwzy".
xwzz → const int
  Shuffle mask "xwzz".
xxww → const int
  Shuffle mask "xxww".
xxwx → const int
  Shuffle mask "xxwx".
xxwy → const int
  Shuffle mask "xxwy".
xxwz → const int
  Shuffle mask "xxwz".
xxxw → const int
  Shuffle mask "xxxw".
xxxx → const int
  Shuffle mask "xxxx".
xxxy → const int
  Shuffle mask "xxxy".
xxxz → const int
  Shuffle mask "xxxz".
xxyw → const int
  Shuffle mask "xxyw".
xxyx → const int
  Shuffle mask "xxyx".
xxyy → const int
  Shuffle mask "xxyy".
xxyz → const int
  Shuffle mask "xxyz".
xxzw → const int
  Shuffle mask "xxzw".
xxzx → const int
  Shuffle mask "xxzx".
xxzy → const int
  Shuffle mask "xxzy".
xxzz → const int
  Shuffle mask "xxzz".
xyww → const int
  Shuffle mask "xyww".
xywx → const int
  Shuffle mask "xywx".
xywy → const int
  Shuffle mask "xywy".
xywz → const int
  Shuffle mask "xywz".
xyxw → const int
  Shuffle mask "xyxw".
xyxx → const int
  Shuffle mask "xyxx".
xyxy → const int
  Shuffle mask "xyxy".
xyxz → const int
  Shuffle mask "xyxz".
xyyw → const int
  Shuffle mask "xyyw".
xyyx → const int
  Shuffle mask "xyyx".
xyyy → const int
  Shuffle mask "xyyy".
xyyz → const int
  Shuffle mask "xyyz".
xyzw → const int
  Shuffle mask "xyzw".
xyzx → const int
  Shuffle mask "xyzx".
xyzy → const int
  Shuffle mask "xyzy".
xyzz → const int
  Shuffle mask "xyzz".
xzww → const int
  Shuffle mask "xzww".
xzwx → const int
  Shuffle mask "xzwx".
xzwy → const int
  Shuffle mask "xzwy".
xzwz → const int
  Shuffle mask "xzwz".
xzxw → const int
  Shuffle mask "xzxw".
xzxx → const int
  Shuffle mask "xzxx".
xzxy → const int
  Shuffle mask "xzxy".
xzxz → const int
  Shuffle mask "xzxz".
xzyw → const int
  Shuffle mask "xzyw".
xzyx → const int
  Shuffle mask "xzyx".
xzyy → const int
  Shuffle mask "xzyy".
xzyz → const int
  Shuffle mask "xzyz".
xzzw → const int
  Shuffle mask "xzzw".
xzzx → const int
  Shuffle mask "xzzx".
xzzy → const int
  Shuffle mask "xzzy".
xzzz → const int
  Shuffle mask "xzzz".
ywww → const int
  Shuffle mask "ywww".
ywwx → const int
  Shuffle mask "ywwx".
ywwy → const int
  Shuffle mask "ywwy".
ywwz → const int
  Shuffle mask "ywwz".
ywxw → const int
  Shuffle mask "ywxw".
ywxx → const int
  Shuffle mask "ywxx".
ywxy → const int
  Shuffle mask "ywxy".
ywxz → const int
  Shuffle mask "ywxz".
ywyw → const int
  Shuffle mask "ywyw".
ywyx → const int
  Shuffle mask "ywyx".
ywyy → const int
  Shuffle mask "ywyy".
ywyz → const int
  Shuffle mask "ywyz".
ywzw → const int
  Shuffle mask "ywzw".
ywzx → const int
  Shuffle mask "ywzx".
ywzy → const int
  Shuffle mask "ywzy".
ywzz → const int
  Shuffle mask "ywzz".
yxww → const int
  Shuffle mask "yxww".
yxwx → const int
  Shuffle mask "yxwx".
yxwy → const int
  Shuffle mask "yxwy".
yxwz → const int
  Shuffle mask "yxwz".
yxxw → const int
  Shuffle mask "yxxw".
yxxx → const int
  Shuffle mask "yxxx".
yxxy → const int
  Shuffle mask "yxxy".
yxxz → const int
  Shuffle mask "yxxz".
yxyw → const int
  Shuffle mask "yxyw".
yxyx → const int
  Shuffle mask "yxyx".
yxyy → const int
  Shuffle mask "yxyy".
yxyz → const int
  Shuffle mask "yxyz".
yxzw → const int
  Shuffle mask "yxzw".
yxzx → const int
  Shuffle mask "yxzx".
yxzy → const int
  Shuffle mask "yxzy".
yxzz → const int
  Shuffle mask "yxzz".
yyww → const int
  Shuffle mask "yyww".
yywx → const int
  Shuffle mask "yywx".
yywy → const int
  Shuffle mask "yywy".
yywz → const int
  Shuffle mask "yywz".
yyxw → const int
  Shuffle mask "yyxw".
yyxx → const int
  Shuffle mask "yyxx".
yyxy → const int
  Shuffle mask "yyxy".
yyxz → const int
  Shuffle mask "yyxz".
yyyw → const int
  Shuffle mask "yyyw".
yyyx → const int
  Shuffle mask "yyyx".
yyyy → const int
  Shuffle mask "yyyy".
yyyz → const int
  Shuffle mask "yyyz".
yyzw → const int
  Shuffle mask "yyzw".
yyzx → const int
  Shuffle mask "yyzx".
yyzy → const int
  Shuffle mask "yyzy".
yyzz → const int
  Shuffle mask "yyzz".
yzww → const int
  Shuffle mask "yzww".
yzwx → const int
  Shuffle mask "yzwx".
yzwy → const int
  Shuffle mask "yzwy".
yzwz → const int
  Shuffle mask "yzwz".
yzxw → const int
  Shuffle mask "yzxw".
yzxx → const int
  Shuffle mask "yzxx".
yzxy → const int
  Shuffle mask "yzxy".
yzxz → const int
  Shuffle mask "yzxz".
yzyw → const int
  Shuffle mask "yzyw".
yzyx → const int
  Shuffle mask "yzyx".
yzyy → const int
  Shuffle mask "yzyy".
yzyz → const int
  Shuffle mask "yzyz".
yzzw → const int
  Shuffle mask "yzzw".
yzzx → const int
  Shuffle mask "yzzx".
yzzy → const int
  Shuffle mask "yzzy".
yzzz → const int
  Shuffle mask "yzzz".
zwww → const int
  Shuffle mask "zwww".
zwwx → const int
  Shuffle mask "zwwx".
zwwy → const int
  Shuffle mask "zwwy".
zwwz → const int
  Shuffle mask "zwwz".
zwxw → const int
  Shuffle mask "zwxw".
zwxx → const int
  Shuffle mask "zwxx".
zwxy → const int
  Shuffle mask "zwxy".
zwxz → const int
  Shuffle mask "zwxz".
zwyw → const int
  Shuffle mask "zwyw".
zwyx → const int
  Shuffle mask "zwyx".
zwyy → const int
  Shuffle mask "zwyy".
zwyz → const int
  Shuffle mask "zwyz".
zwzw → const int
  Shuffle mask "zwzw".
zwzx → const int
  Shuffle mask "zwzx".
zwzy → const int
  Shuffle mask "zwzy".
zwzz → const int
  Shuffle mask "zwzz".
zxww → const int
  Shuffle mask "zxww".
zxwx → const int
  Shuffle mask "zxwx".
zxwy → const int
  Shuffle mask "zxwy".
zxwz → const int
  Shuffle mask "zxwz".
zxxw → const int
  Shuffle mask "zxxw".
zxxx → const int
  Shuffle mask "zxxx".
zxxy → const int
  Shuffle mask "zxxy".
zxxz → const int
  Shuffle mask "zxxz".
zxyw → const int
  Shuffle mask "zxyw".
zxyx → const int
  Shuffle mask "zxyx".
zxyy → const int
  Shuffle mask "zxyy".
zxyz → const int
  Shuffle mask "zxyz".
zxzw → const int
  Shuffle mask "zxzw".
zxzx → const int
  Shuffle mask "zxzx".
zxzy → const int
  Shuffle mask "zxzy".
zxzz → const int
  Shuffle mask "zxzz".
zyww → const int
  Shuffle mask "zyww".
zywx → const int
  Shuffle mask "zywx".
zywy → const int
  Shuffle mask "zywy".
zywz → const int
  Shuffle mask "zywz".
zyxw → const int
  Shuffle mask "zyxw".
zyxx → const int
  Shuffle mask "zyxx".
zyxy → const int
  Shuffle mask "zyxy".
zyxz → const int
  Shuffle mask "zyxz".
zyyw → const int
  Shuffle mask "zyyw".
zyyx → const int
  Shuffle mask "zyyx".
zyyy → const int
  Shuffle mask "zyyy".
zyyz → const int
  Shuffle mask "zyyz".
zyzw → const int
  Shuffle mask "zyzw".
zyzx → const int
  Shuffle mask "zyzx".
zyzy → const int
  Shuffle mask "zyzy".
zyzz → const int
  Shuffle mask "zyzz".
zzww → const int
  Shuffle mask "zzww".
zzwx → const int
  Shuffle mask "zzwx".
zzwy → const int
  Shuffle mask "zzwy".
zzwz → const int
  Shuffle mask "zzwz".
zzxw → const int
  Shuffle mask "zzxw".
zzxx → const int
  Shuffle mask "zzxx".
zzxy → const int
  Shuffle mask "zzxy".
zzxz → const int
  Shuffle mask "zzxz".
zzyw → const int
  Shuffle mask "zzyw".
zzyx → const int
  Shuffle mask "zzyx".
zzyy → const int
  Shuffle mask "zzyy".
zzyz → const int
  Shuffle mask "zzyz".
zzzw → const int
  Shuffle mask "zzzw".
zzzx → const int
  Shuffle mask "zzzx".
zzzy → const int
  Shuffle mask "zzzy".
zzzz → const int
  Shuffle mask "zzzz".