Uses of Class
jdk.incubator.vector.DoubleVector
Packages that use DoubleVector
-
Uses of DoubleVector in jdk.incubator.vector
Methods in jdk.incubator.vector that return DoubleVectorModifier and TypeMethodDescriptionDoubleVector.abs()
Returns the absolute value of this vector.DoubleVector.add(double e)
Adds this vector to the broadcast of an input scalar.DoubleVector.add(double e, VectorMask<Double> m)
Adds this vector to the broadcast of an input scalar, selecting lane elements controlled by a mask.Adds this vector to a second input vector.DoubleVector.add(Vector<Double> v, VectorMask<Double> m)
Adds this vector to a second input vector, selecting lanes under the control of a mask.abstract DoubleVector
DoubleVector.addIndex(int scale)
Adds the lanes of this vector to their corresponding lane numbers, scaled by a given constant.DoubleVector.blend(double e, VectorMask<Double> m)
Replaces selected lanes of this vector with a scalar value under the control of a mask.DoubleVector.blend(long e, VectorMask<Double> m)
Replaces selected lanes of this vector with a scalar value under the control of a mask.abstract DoubleVector
DoubleVector.blend(Vector<Double> v, VectorMask<Double> m)
Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.abstract DoubleVector
DoubleVector.broadcast(double e)
Returns a vector of the same species as this one where all lane elements are set to the primitive valuee
.abstract DoubleVector
DoubleVector.broadcast(long e)
Returns a vector of the same species as this one where all lane elements are set to the primitive valuee
.static DoubleVector
DoubleVector.broadcast(VectorSpecies<Double> species, double e)
Returns a vector of the given species where all lane elements are set to the primitive valuee
.static DoubleVector
DoubleVector.broadcast(VectorSpecies<Double> species, long e)
Returns a vector of the given species where all lane elements are set to the primitive valuee
.DoubleVector.div(double e)
Divides this vector by the broadcast of an input scalar.DoubleVector.div(double e, VectorMask<Double> m)
Divides this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.Divides this vector by a second input vector.DoubleVector.div(Vector<Double> v, VectorMask<Double> m)
Divides this vector by a second input vector under the control of a mask.DoubleVector.fma(double b, double c)
Multiplies this vector by a scalar multiplier, and sums the result with a scalar addend.Multiplies this vector by a second input vector, and sums the result with a third.static DoubleVector
DoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset)
Loads a vector from an array of typedouble[]
starting at an offset.static DoubleVector
DoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset, int[] indexMap, int mapOffset)
Gathers a new vector composed of elements from an array of typedouble[]
, using indexes obtained by adding a fixedoffset
to a series of secondary offsets from an index map.static DoubleVector
DoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Double> m)
Gathers a new vector composed of elements from an array of typedouble[]
, under the control of a mask, and using indexes obtained by adding a fixedoffset
to a series of secondary offsets from an index map.static DoubleVector
DoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset, VectorMask<Double> m)
Loads a vector from an array of typedouble[]
starting at an offset and using a mask.static DoubleVector
DoubleVector.fromByteArray(VectorSpecies<Double> species, byte[] a, int offset, ByteOrder bo)
Loads a vector from a byte array starting at an offset.static DoubleVector
DoubleVector.fromByteArray(VectorSpecies<Double> species, byte[] a, int offset, ByteOrder bo, VectorMask<Double> m)
Loads a vector from a byte array starting at an offset and using a mask.static DoubleVector
DoubleVector.fromByteBuffer(VectorSpecies<Double> species, ByteBuffer bb, int offset, ByteOrder bo)
Loads a vector from a byte buffer starting at an offset into the byte buffer.static DoubleVector
DoubleVector.fromByteBuffer(VectorSpecies<Double> species, ByteBuffer bb, int offset, ByteOrder bo, VectorMask<Double> m)
Loads a vector from a byte buffer starting at an offset into the byte buffer and using a mask.DoubleVector.lanewise(VectorOperators.Binary op, double e)
Combines the lane values of this vector with the value of a broadcast scalar.DoubleVector.lanewise(VectorOperators.Binary op, double e, VectorMask<Double> m)
Combines the lane values of this vector with the value of a broadcast scalar, with selection of lane elements controlled by a mask.DoubleVector.lanewise(VectorOperators.Binary op, long e)
Combines the lane values of this vector with the value of a broadcast scalar.DoubleVector.lanewise(VectorOperators.Binary op, long e, VectorMask<Double> m)
Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.abstract DoubleVector
DoubleVector.lanewise(VectorOperators.Binary op, Vector<Double> v)
Combines the corresponding lane values of this vector with those of a second input vector.DoubleVector.lanewise(VectorOperators.Binary op, Vector<Double> v, VectorMask<Double> m)
Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.DoubleVector.lanewise(VectorOperators.Ternary op, double e1, double e2)
Combines the lane values of this vector with the values of two broadcast scalars.DoubleVector.lanewise(VectorOperators.Ternary op, double e1, double e2, VectorMask<Double> m)
Combines the lane values of this vector with the values of two broadcast scalars, with selection of lane elements controlled by a mask.DoubleVector.lanewise(VectorOperators.Ternary op, double e1, Vector<Double> v2)
Combines the lane values of this vector with the values of another vector and a broadcast scalar.DoubleVector.lanewise(VectorOperators.Ternary op, double e1, Vector<Double> v2, VectorMask<Double> m)
Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.DoubleVector.lanewise(VectorOperators.Ternary op, Vector<Double> v1, double e2)
Combines the lane values of this vector with the values of another vector and a broadcast scalar.DoubleVector.lanewise(VectorOperators.Ternary op, Vector<Double> v1, double e2, VectorMask<Double> m)
Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.abstract DoubleVector
Combines the corresponding lane values of this vector with the lanes of a second and a third input vector.DoubleVector.lanewise(VectorOperators.Ternary op, Vector<Double> v1, Vector<Double> v2, VectorMask<Double> m)
Combines the corresponding lane values of this vector with the lanes of a second and a third input vector, with selection of lane elements controlled by a mask.abstract DoubleVector
DoubleVector.lanewise(VectorOperators.Unary op)
Operates on the lane values of this vector.DoubleVector.lanewise(VectorOperators.Unary op, VectorMask<Double> m)
Operates on the lane values of this vector, with selection of lane elements controlled by a mask.DoubleVector.max(double e)
Computes the larger of this vector and the broadcast of an input scalar.Computes the larger of this vector and a second input vector.DoubleVector.min(double e)
Computes the smaller of this vector and the broadcast of an input scalar.Computes the smaller of this vector and a second input vector.DoubleVector.mul(double e)
Multiplies this vector by the broadcast of an input scalar.DoubleVector.mul(double e, VectorMask<Double> m)
Multiplies this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.Multiplies this vector by a second input vector.DoubleVector.mul(Vector<Double> v, VectorMask<Double> m)
Multiplies this vector by a second input vector under the control of a mask.DoubleVector.neg()
Negates this vector.DoubleVector.pow(double b)
Raises this vector to a scalar power.Raises this vector to the power of a second input vector.abstract DoubleVector
DoubleVector.rearrange(VectorShuffle<Double> m)
Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle.abstract DoubleVector
DoubleVector.rearrange(VectorShuffle<Double> s, Vector<Double> v)
Rearranges the lane elements of two vectors, selecting lanes under the control of a specific shuffle, using both normal and exceptional indexes in the shuffle to steer data.abstract DoubleVector
DoubleVector.rearrange(VectorShuffle<Double> s, VectorMask<Double> m)
Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle and a mask.abstract DoubleVector
Vector.reinterpretAsDoubles()
Reinterprets this vector as a vector of the same shape and contents but a lane type ofdouble
, where the lanes are assembled from successive bytes according to little-endian order.abstract DoubleVector
DoubleVector.selectFrom(Vector<Double> v)
Using index values stored in the lanes of this vector, assemble values stored in second vectorv
.abstract DoubleVector
DoubleVector.selectFrom(Vector<Double> s, VectorMask<Double> m)
Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of a mask.abstract DoubleVector
DoubleVector.slice(int origin)
Slices a segment of adjacent lanes, starting at a givenorigin
lane in the current vector.abstract DoubleVector
Slices a segment of adjacent lanes, starting at a givenorigin
lane in the current vector, and continuing (as needed) into an immediately following vector.DoubleVector.slice(int origin, Vector<Double> w, VectorMask<Double> m)
Slices a segment of adjacent lanes under the control of a mask, starting at a givenorigin
lane in the current vector, and continuing (as needed) into an immediately following vector.DoubleVector.sqrt()
Computes the square root of this vector.DoubleVector.sub(double e)
Subtracts an input scalar from this vector.DoubleVector.sub(double e, VectorMask<Double> m)
Subtracts an input scalar from this vector under the control of a mask.Subtracts a second input vector from this vector.DoubleVector.sub(Vector<Double> v, VectorMask<Double> m)
Subtracts a second input vector from this vector under the control of a mask.abstract DoubleVector
DoubleVector.unslice(int origin)
Reverses a slice(), inserting the current vector as a slice within a "background" input of zero lane values.abstract DoubleVector
Reverses a slice(), inserting the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequentslice()
operation.abstract DoubleVector
DoubleVector.unslice(int origin, Vector<Double> w, int part, VectorMask<Double> m)
Reverses a slice(), inserting (under the control of a mask) the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequentslice()
operation.DoubleVector.viewAsFloatingLanes()
Views this vector as a vector of the same shape, length, and contents, but a lane type that is a floating-point type.LongVector.viewAsFloatingLanes()
Views this vector as a vector of the same shape, length, and contents, but a lane type that is a floating-point type.abstract DoubleVector
DoubleVector.withLane(int i, double e)
Replaces the lane element of this vector at lane indexi
with valuee
.static DoubleVector
DoubleVector.zero(VectorSpecies<Double> species)
Returns a vector of the given species where all lane elements are set to zero, the default primitive value.