# Uses of Class
jdk.incubator.vector.DoubleVector

Packages that use DoubleVector
Package
Description
jdk.incubator.vector
Incubating Feature. Will be removed in a future release.

## Uses of DoubleVector in jdk.incubator.vector

Methods in jdk.incubator.vector that return DoubleVector
Modifier and Type
Method
Description
`final 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`
DoubleVector.`add(Vector<Double> v)`
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 value `e`.
`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 value `e`.
`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 value `e`.
`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 value `e`.
`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`
DoubleVector.`div(Vector<Double> v)`
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`
DoubleVector.`fma(Vector<Double> b, Vector<Double> c)`
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 type `double[]` 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 type `double[]`, using indexes obtained by adding a fixed `offset` 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 type `double[]`, under the control of a mask, and using indexes obtained by adding a fixed `offset` 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 type `double[]` 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`
DoubleVector.`lanewise(VectorOperators.Ternary op, Vector<Double> v1, Vector<Double> v2)`
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`
DoubleVector.`max(Vector<Double> v)`
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`
DoubleVector.`min(Vector<Double> v)`
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`
DoubleVector.`mul(Vector<Double> v)`
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`
DoubleVector.`pow(Vector<Double> b)`
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 of `double`, 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 vector `v`.
`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 given `origin` lane in the current vector.
`abstract DoubleVector`
DoubleVector.`slice(int origin, Vector<Double> v1)`
Slices a segment of adjacent lanes, starting at a given `origin` 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 given `origin` 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`
DoubleVector.`sub(Vector<Double> v)`
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`
DoubleVector.`unslice(int origin, Vector<Double> w, int part)`
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 subsequent `slice()` 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 subsequent `slice()` 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 index `i` with value `e`.
`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.