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 TypeMethodDescriptionfinal DoubleVector
DoubleVector.abs()
Returns the absolute value of this vector.final DoubleVector
DoubleVector.add
(double e) Adds this vector to the broadcast of an input scalar.final DoubleVector
DoubleVector.add
(double e, VectorMask<Double> m) Adds this vector to the broadcast of an input scalar, selecting lane elements controlled by a mask.final DoubleVector
Adds this vector to a second input vector.final DoubleVector
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.final DoubleVector
DoubleVector.blend
(double e, VectorMask<Double> m) Replaces selected lanes of this vector with a scalar value under the control of a mask.final DoubleVector
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
.final DoubleVector
DoubleVector.div
(double e) Divides this vector by the broadcast of an input scalar.final DoubleVector
DoubleVector.div
(double e, VectorMask<Double> m) Divides this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.final DoubleVector
Divides this vector by a second input vector.final DoubleVector
DoubleVector.div
(Vector<Double> v, VectorMask<Double> m) Divides this vector by a second input vector under the control of a mask.final DoubleVector
DoubleVector.fma
(double b, double c) Multiplies this vector by a scalar multiplier, and sums the result with a scalar addend.final DoubleVector
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.final DoubleVector
DoubleVector.lanewise
(VectorOperators.Binary op, double e) Combines the lane values of this vector with the value of a broadcast scalar.final DoubleVector
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.final DoubleVector
DoubleVector.lanewise
(VectorOperators.Binary op, long e) Combines the lane values of this vector with the value of a broadcast scalar.final DoubleVector
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.final DoubleVector
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.final DoubleVector
DoubleVector.lanewise
(VectorOperators.Ternary op, double e1, double e2) Combines the lane values of this vector with the values of two broadcast scalars.final DoubleVector
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.final DoubleVector
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.final DoubleVector
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.final DoubleVector
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.final DoubleVector
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.final DoubleVector
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.final DoubleVector
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.final DoubleVector
DoubleVector.max
(double e) Computes the larger of this vector and the broadcast of an input scalar.final DoubleVector
Computes the larger of this vector and a second input vector.final DoubleVector
DoubleVector.min
(double e) Computes the smaller of this vector and the broadcast of an input scalar.final DoubleVector
Computes the smaller of this vector and a second input vector.final DoubleVector
DoubleVector.mul
(double e) Multiplies this vector by the broadcast of an input scalar.final DoubleVector
DoubleVector.mul
(double e, VectorMask<Double> m) Multiplies this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.final DoubleVector
Multiplies this vector by a second input vector.final DoubleVector
DoubleVector.mul
(Vector<Double> v, VectorMask<Double> m) Multiplies this vector by a second input vector under the control of a mask.final DoubleVector
DoubleVector.neg()
Negates this vector.final DoubleVector
DoubleVector.pow
(double b) Raises this vector to a scalar power.final DoubleVector
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.final DoubleVector
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.final DoubleVector
DoubleVector.sqrt()
Computes the square root of this vector.final DoubleVector
DoubleVector.sub
(double e) Subtracts an input scalar from this vector.final DoubleVector
DoubleVector.sub
(double e, VectorMask<Double> m) Subtracts an input scalar from this vector under the control of a mask.final DoubleVector
Subtracts a second input vector from this vector.final DoubleVector
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.final DoubleVector
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.final DoubleVector
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.