Vector
representing an ordered immutable sequence of
double
values.
Modifier and Type | Class and Description |
---|---|
pack-priv static class | DoubleVector.
Class representing |
pack-priv static interface | |
pack-priv static interface | |
pack-priv static interface | |
pack-priv static interface | |
pack-priv static interface | |
pack-priv static interface | |
pack-priv static interface | |
pack-priv static interface | |
pack-priv static interface |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public final DoubleVector | abs()
Implements abstract jdk. |
public final DoubleVector | add(Vector<Double>
a second input vector v)Implements abstract jdk. |
public final DoubleVector | Returns: the result of adding each lane of this vector to the scalarthe input scalar e)Adds this vector to the broadcast of an input scalar. |
public final DoubleVector | add(Vector<Double>
the second input vector v, VectorMask<Double> the mask controlling lane selection m)Implements abstract jdk. |
public final DoubleVector | Returns: the result of adding each lane of this vector to the scalarthe input scalar e, VectorMask<Double> the mask controlling lane selection m)Adds this vector to the broadcast of an input scalar, selecting lane elements controlled by a mask. |
public abstract DoubleVector | addIndex(int
the number to multiply by each lane index
scale)N , typically 1 Implements abstract jdk. |
pack-priv final DoubleVector | |
pack-priv static long | |
private static VectorSupport. | |
public abstract DoubleVector | blend(Vector<Double>
the second input vector, containing replacement lane values v, VectorMask<Double> the mask controlling lane selection from the second input vector m)Implements abstract jdk. |
public final DoubleVector | Returns: the result of blending the lane elements of this vector with the scalar valuethe input scalar, containing the replacement lane value e, VectorMask<Double> the mask controlling lane selection of the scalar m)Replaces selected lanes of this vector with a scalar value under the control of a mask. |
public final DoubleVector | Returns: the result of blending the lane elements of this vector with the scalar valuethe input scalar, containing the replacement lane value e, VectorMask<Double> the mask controlling lane selection of the scalar m)Implements abstract jdk. |
pack-priv final <M extends VectorMask | |
pack-priv abstract DoubleVector | |
pack-priv abstract DoubleVector | |
pack-priv final DoubleVector | |
pack-priv final DoubleVector | |
public abstract DoubleVector | Returns: a vector where all lane elements are set to the primitive valuee the value to broadcast e)Returns a vector of the same species as this one
where all lane elements are set to
the primitive value |
public static DoubleVector | Returns: a vector where all lane elements are set to the primitive valuee species of the desired vector species, double the value to broadcast e)Returns a vector of the given species
where all lane elements are set to
the primitive value |
public abstract DoubleVector | broadcast(long
the value to broadcast e)Implements abstract jdk. e .
|
public static DoubleVector | Returns: a vector where all lane elements are set to the primitive valuee species of the desired vector species, long the value to broadcast e)Returns a vector of the given species
where all lane elements are set to
the primitive value |
pack-priv final DoubleVector | |
pack-priv final DoubleVector | |
pack-priv final AbstractMask | |
pack-priv static long | |
private static void | checkMaskFromIndexSize(int offset, DoubleVector.
|
private static void | checkMaskFromIndexSize(long offset, DoubleVector.
|
public abstract VectorMask | compare(VectorOperators.
the operation used to compare lane values op,a second input vector v)Implements abstract jdk. |
public abstract VectorMask | Returns: the mask result of testing lane-wise if this vector compares to the input, according to the selected comparison operatorthe operation used to compare lane values op,the input scalar e)Tests this vector by comparing it with an input scalar, according to the given comparison operation. |
public final VectorMask | Returns: the mask result of testing lane-wise if this vector compares to the input, according to the selected comparison operator, and only in the lanes selected by the maskthe operation used to compare lane values op,the input scalar e, VectorMask<Double> the mask controlling lane selection m)Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask. |
public abstract VectorMask | compare(VectorOperators.
the operation used to compare lane values op,the input scalar e)Implements abstract jdk. |
public final VectorMask | compare(VectorOperators.
the operation used to compare lane values op,the input scalar e, VectorMask<Double> the mask controlling lane selection m)Implements abstract jdk. |
pack-priv final <M extends VectorMask | |
pack-priv final <M extends VectorMask | |
pack-priv final <M extends VectorMask | |
pack-priv final <M extends VectorMask | |
private static boolean | |
public abstract DoubleVector | compress(VectorMask<Double>
the mask controlling the compression m)Implements abstract jdk. |
pack-priv static DoubleVector | |
pack-priv final <M extends AbstractMask | |
private void | conditionalStoreNYI(int offset, DoubleVector.
|
public final DoubleVector | div(Vector<Double>
a second input vector v)Implements abstract jdk. |
public final DoubleVector | Returns: the result of dividing each lane of this vector by the scalarthe input scalar e)Divides this vector by the broadcast of an input scalar. |
public final DoubleVector | div(Vector<Double>
a second input vector v, VectorMask<Double> the mask controlling lane selection m)Implements abstract jdk. |
public final DoubleVector | Returns: the result of dividing each lane of this vector by the scalarthe input scalar e, VectorMask<Double> the mask controlling lane selection m)Divides this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask. |
public final VectorMask | eq(Vector<Double>
a second input vector v)Implements abstract jdk. |
public final VectorMask | Returns: the result mask of testing if this vector is equal toe the input scalar e)Tests if this vector is equal to an input scalar. |
public final boolean | equals(Object
the reference object with which to compare. obj)Implements abstract jdk. |
public abstract DoubleVector | expand(VectorMask<Double>
the mask controlling the compression m)Implements abstract jdk. |
pack-priv static DoubleVector | |
pack-priv final <M extends AbstractMask | |
public final DoubleVector | Returns: the product of this vector and the second input vector summed with the third input vector, using extended precision for the intermediate resultthe second input vector, supplying multiplier values b, Vector<Double> the third input vector, supplying addend values c)Multiplies this vector by a second input vector, and sums the result with a third. |
public final DoubleVector | Returns: the product of this vector and the scalar multiplier summed with scalar addend, using extended precision for the intermediate resultthe scalar multiplier b, double the scalar addend c)Multiplies this vector by a scalar multiplier, and sums the result with a scalar addend. |
public static DoubleVector | Returns: the vector loaded from an arrayspecies of desired vector species, double[] the array a, int the offset into the array offset)Loads a vector from an array of type |
public static DoubleVector | Returns: the vector loaded from an arrayspecies of desired vector species, double[] the array a, int the offset into the array offset, VectorMask<Double> the mask controlling lane selection m)Loads a vector from an array of type |
public static DoubleVector | Returns: the vector loaded from the indexed elements of the arrayspecies of desired vector species, double[] the array a, int the offset into the array, may be negative if relative
indexes in the index map compensate to produce a value within the
array bounds offset, int[] the index map indexMap, int the offset into the index map mapOffset)Gathers a new vector composed of elements from an array of type
|
public static DoubleVector | Returns: the vector loaded from the indexed elements of the arrayspecies of desired vector species, double[] the array a, int the offset into the array, may be negative if relative
indexes in the index map compensate to produce a value within the
array bounds offset, int[] the index map indexMap, int the offset into the index map mapOffset, VectorMask<Double> the mask controlling lane selection m)Gathers a new vector composed of elements from an array of type
|
pack-priv abstract DoubleVector | |
pack-priv abstract DoubleVector | |
pack-priv abstract DoubleVector | |
pack-priv final DoubleVector | |
pack-priv final <M extends VectorMask | |
pack-priv final <M extends VectorMask | |
pack-priv static double | |
public static DoubleVector | Returns: a vector loaded from the memory segmentspecies of desired vector species, MemorySegment the memory segment ms, long the offset into the memory segment offset, ByteOrder the intended byte order bo)Loads a vector from a memory segment starting at an offset into the memory segment. |
public static DoubleVector | Returns: a vector loaded from the memory segmentspecies of desired vector species, MemorySegment the memory segment ms, long the offset into the memory segment offset, ByteOrder the intended byte order bo, VectorMask<Double> the mask controlling lane selection m)Loads a vector from a memory segment starting at an offset into the memory segment and using a mask. |
pack-priv abstract DoubleVector | fromMemorySegment0(MemorySegment bb, long offset)
Implements abstract jdk. |
pack-priv abstract DoubleVector | |
pack-priv final DoubleVector | |
pack-priv final <M extends VectorMask | fromMemorySegment0Template(Class<M> maskClass, MemorySegment ms, long offset, M m, int offsetInRange)
|
public final int | hashCode()
Implements abstract jdk. |
public final void | intoArray(double[]
the array, of type a, int double[] the offset into the array offset)Stores this vector into an array of type |
public final void | intoArray(double[]
the array, of type a, int double[] the offset into the array offset, VectorMask<Double> the mask controlling lane storage m)Stores this vector into an array of type |
public final void | intoArray(double[]
the array a, int an offset to combine with the index map offsets offset, int[] the index map indexMap, int the offset into the index map mapOffset)Scatters this vector into an array of type |
public final void | intoArray(double[]
the array a, int an offset to combine with the index map offsets offset, int[] the index map indexMap, int the offset into the index map mapOffset, VectorMask<Double> the mask m)Scatters this vector into an array of type |
pack-priv abstract void | |
pack-priv abstract void | |
pack-priv abstract void | |
pack-priv final void | |
pack-priv final <M extends VectorMask | |
pack-priv final <M extends VectorMask | |
public final void | intoMemorySegment(MemorySegment
the memory segment ms, long the offset into the memory segment offset, ByteOrder the intended byte order bo)Implements abstract jdk. |
public final void | intoMemorySegment(MemorySegment
the memory segment ms, long the offset into the memory segment offset, ByteOrder the intended byte order bo, VectorMask<Double> the mask controlling lane selection m)Implements abstract jdk. |
pack-priv final void | |
pack-priv abstract void | |
pack-priv final <M extends VectorMask | |
public abstract double | Returns: the lane element at lane indexi the lane index i)Gets the lane element at lane index |
public abstract DoubleVector | lanewise(VectorOperators.
the operation used to process lane values opImplements abstract jdk. |
public abstract DoubleVector | lanewise(VectorOperators.
the operation used to process lane values op,the mask controlling lane selection m)Implements abstract jdk. |
public abstract DoubleVector | lanewise(VectorOperators.
the operation used to combine lane values op,the input vector v)Implements abstract jdk. |
public abstract DoubleVector | lanewise(VectorOperators.
the operation used to combine lane values op,the second input vector v, VectorMask<Double> the mask controlling lane selection m)Implements abstract jdk. |
public final DoubleVector | Returns: the result of applying the operation lane-wise to the two input vectorsthe operation used to process lane values op,the input scalar e)Combines the lane values of this vector with the value of a broadcast scalar. |
public final DoubleVector | Returns: the result of applying the operation lane-wise to the input vector and the scalarthe operation used to process lane values op,the input scalar e, VectorMask<Double> the mask controlling lane selection m)Combines the lane values of this vector with the value of a broadcast scalar, with selection of lane elements controlled by a mask. |
public final DoubleVector | lanewise(VectorOperators.
the operation used to combine lane values op,the input scalar e)Implements abstract jdk. |
public final DoubleVector | lanewise(VectorOperators.
the operation used to combine lane values op,the input scalar e, VectorMask<Double> the mask controlling lane selection m)Implements abstract jdk. |
public abstract DoubleVector | lanewise(VectorOperators.
the operation used to combine lane values op,the second input vector v1, Vector<Double> the third input vector v2)Implements abstract jdk. |
public abstract DoubleVector | lanewise(VectorOperators.
the operation used to combine lane values op,the second input vector v1, Vector<Double> the third input vector v2, VectorMask<Double> the mask controlling lane selection m)Implements abstract jdk. |
public final DoubleVector | Returns: the result of applying the operation lane-wise to the input vector and the scalarsthe operation used to combine lane values op,the first input scalar e1, double the second input scalar e2)Combines the lane values of this vector with the values of two broadcast scalars. |
public final DoubleVector | Returns: the result of applying the operation lane-wise to the input vector and the scalarsthe operation used to combine lane values op,the first input scalar e1, double the second input scalar e2, VectorMask<Double> the mask controlling lane selection m)Combines the lane values of this vector with the values of two broadcast scalars, with selection of lane elements controlled by a mask. |
public final DoubleVector | Returns: the result of applying the operation lane-wise to the input vectors and the scalarthe operation used to combine lane values op,the other input vector v1, double the input scalar e2)Combines the lane values of this vector with the values of another vector and a broadcast scalar. |
public final DoubleVector | Returns: the result of applying the operation lane-wise to the input vectors and the scalarthe operation used to combine lane values op,the other input vector v1, double the input scalar e2, VectorMask<Double> the mask controlling lane selection 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. |
public final DoubleVector | Returns: the result of applying the operation lane-wise to the input vectors and the scalarthe operation used to combine lane values op,the input scalar e1, Vector<Double> the other input vector v2)Combines the lane values of this vector with the values of another vector and a broadcast scalar. |
public final DoubleVector | Returns: the result of applying the operation lane-wise to the input vectors and the scalarthe operation used to combine lane values op,the input scalar e1, Vector<Double> the other input vector v2, VectorMask<Double> the mask controlling lane selection 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. |
pack-priv final DoubleVector | |
pack-priv final DoubleVector | lanewiseTemplate(VectorOperators.
|
pack-priv final DoubleVector | |
pack-priv final DoubleVector | lanewiseTemplate(VectorOperators.
|
pack-priv final DoubleVector | |
pack-priv final DoubleVector | lanewiseTemplate(VectorOperators.
|
pack-priv final DoubleVector | |
pack-priv final DoubleVector | |
pack-priv final <M> DoubleVector | |
pack-priv final <M> DoubleVector | |
public final VectorMask | lt(Vector<Double>
a second input vector v)Implements abstract jdk. |
public final VectorMask | Returns: the mask result of testing if this vector is less than the input scalarthe input scalar e)Tests if this vector is less than an input scalar. |
pack-priv final AbstractMask | |
public final DoubleVector | max(Vector<Double>
a second input vector v)Implements abstract jdk. |
public final DoubleVector | Returns: the result of multiplying this vector by the given scalarthe input scalar e)Computes the larger of this vector and the broadcast of an input scalar. |
pack-priv final DoubleVector | |
pack-priv static double | |
pack-priv static void | |
public final DoubleVector | min(Vector<Double>
a second input vector v)Implements abstract jdk. |
public final DoubleVector | Returns: the result of multiplying this vector by the given scalarthe input scalar e)Computes the smaller of this vector and the broadcast of an input scalar. |
public final DoubleVector | mul(Vector<Double>
a second input vector v)Implements abstract jdk. |
public final DoubleVector | Returns: the result of multiplying this vector by the given scalarthe input scalar e)Multiplies this vector by the broadcast of an input scalar. |
public final DoubleVector | mul(Vector<Double>
the second input vector v, VectorMask<Double> the mask controlling lane selection m)Implements abstract jdk. |
public final DoubleVector | Returns: the result of muling each lane of this vector to the scalarthe input scalar e, VectorMask<Double> the mask controlling lane selection m)Multiplies this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask. |
public final DoubleVector | |
pack-priv static int | |
pack-priv static int | |
pack-priv static boolean | |
public final DoubleVector | |
public final DoubleVector | Returns: theb -th power of this vectora scalar exponent by which to raise this vector b)Raises this vector to a scalar power. |
public abstract DoubleVector | rearrange(VectorShuffle<Double>
the shuffle controlling lane index selection m)Implements abstract jdk. |
public abstract DoubleVector | rearrange(VectorShuffle<Double>
the shuffle controlling lane index selection s, VectorMask<Double> the mask controlling application of the shuffle m)Implements abstract jdk. |
public abstract DoubleVector | rearrange(VectorShuffle<Double>
the shuffle controlling lane selection from both input vectors s, Vector<Double> the second input vector v)Implements abstract jdk. |
pack-priv final <S extends VectorShuffle | |
pack-priv final <S extends VectorShuffle | |
pack-priv final <S extends VectorShuffle | |
public abstract double | Returns: the accumulated resultthe operation used to combine lane values opReturns a value accumulated from all the lanes of this vector. |
public abstract double | Returns: the reduced result accumulated from the selected lane valuesthe operation used to combine lane values op,the mask controlling lane selection m)Returns a value accumulated from selected lanes of this vector, controlled by a mask. |
pack-priv final double | reduceLanesTemplate(VectorOperators.
|
pack-priv final double | |
public abstract long | reduceLanesToLong(VectorOperators.
the operation used to combine lane values opImplements abstract jdk. |
public abstract long | reduceLanesToLong(VectorOperators.
the operation used to combine lane values op,the mask controlling lane selection m)Implements abstract jdk. |
private static VectorSupport. | |
public final ByteVector | reinterpretAsBytes()
Implements abstract jdk. byte ,
where the bytes are extracted from the lanes
according to little-endian order.
|
pack-priv abstract double | |
pack-priv final double | |
pack-priv final double | |
public abstract DoubleVector | selectFrom(Vector<Double>
the vector supplying the result values v)Implements abstract jdk. v .
|
public abstract DoubleVector | selectFrom(Vector<Double>
the vector supplying the result values s, VectorMask<Double> the mask controlling selection from m)v Implements abstract jdk. |
pack-priv final DoubleVector | |
pack-priv final DoubleVector | |
public abstract DoubleVector | slice(int
the first input lane to transfer into the slice origin, Vector<Double> a second vector logically concatenated with the first,
before the slice is taken (if omitted it defaults to zero) v1)Implements abstract jdk. origin lane in the current vector, and continuing (as
needed) into an immediately following vector.
|
public final DoubleVector | slice(int
the first input lane to transfer into the slice origin, Vector<Double> a second vector logically concatenated with the first,
before the slice is taken (if omitted it defaults to zero) w, VectorMask<Double> the mask controlling lane selection into the resulting vector m)Implements abstract jdk. origin lane in the current vector, and continuing (as
needed) into an immediately following vector.
|
public abstract DoubleVector | slice(int
the first input lane to transfer into the slice origin)Implements abstract jdk. origin lane in the current vector.
|
pack-priv final DoubleVector | |
pack-priv final DoubleVector | |
pack-priv static DoubleVector. | Returns: a species for an element type ofdouble and shapethe shape s)Finds a species for an element type of |
public final DoubleVector | |
pack-priv final void | |
pack-priv final void | |
pack-priv final <M> void | |
pack-priv final <M> void | |
public final DoubleVector | sub(Vector<Double>
a second input vector v)Implements abstract jdk. |
public final DoubleVector | Returns: the result of subtracting the scalar from each lane of this vectorthe input scalar e)Subtracts an input scalar from this vector. |
public final DoubleVector | sub(Vector<Double>
the second input vector v, VectorMask<Double> the mask controlling lane selection m)Implements abstract jdk. |
public final DoubleVector | Returns: the result of subtracting the scalar from each lane of this vectorthe input scalar e, VectorMask<Double> the mask controlling lane selection m)Subtracts an input scalar from this vector under the control of a mask. |
private static VectorSupport. | |
public abstract VectorMask | test(VectorOperators.
the operation used to test lane values opImplements abstract jdk. |
public abstract VectorMask | test(VectorOperators.
the operation used to test lane values op,the mask controlling lane selection m)Implements abstract jdk. |
pack-priv final <M extends VectorMask | |
pack-priv final <M extends VectorMask | |
public final double[] | Returns: an array containing the lane values of this vectorImplements abstract jdk. double[]
containing all the lane values.
|
pack-priv static long | |
public final double[] | toDoubleArray()
Implements abstract jdk. double[] array containing all
the lane values, converted to the type double .
|
public final int[] | toIntArray()
Implements abstract jdk. int[] array containing all
the lane values, converted to the type int .
|
public final long[] | toLongArray()
Implements abstract jdk. long[] array containing all
the lane values, converted to the type long .
|
pack-priv abstract DoubleVector | |
pack-priv abstract DoubleVector | |
pack-priv final DoubleVector | |
pack-priv final DoubleVector | |
private final VectorShuffle | |
pack-priv final VectorShuffle | |
public final String | Returns: a string of the form"[0,1,2...]"
reporting the lane values of this vectorImplements abstract jdk. "[0,1,2...]" , reporting the lane values of this vector,
in lane order.
|
private static VectorSupport. | |
public abstract DoubleVector | unslice(int
the first output lane to receive the slice origin, Vector<Double> the background vector that (as two copies) will receive
the inserted slice w, int the part number of the result (either zero or one) part)Implements abstract jdk. slice() operation.
|
public abstract DoubleVector | unslice(int
the first output lane to receive the slice origin, Vector<Double> the background vector that (as two copies) will receive
the inserted slice, if they are set in w, int m the part number of the result (either zero or one) part, VectorMask<Double> the mask controlling lane selection from the current vector m)Implements abstract jdk. slice() operation.
|
public abstract DoubleVector | unslice(int
the first output lane to receive the slice origin)Implements abstract jdk. |
pack-priv final DoubleVector | |
pack-priv final <M extends VectorMask | |
pack-priv final DoubleVector | |
pack-priv abstract DoubleVector | |
pack-priv abstract DoubleVector | |
pack-priv final DoubleVector | |
pack-priv final DoubleVector | |
pack-priv abstract double[] | |
pack-priv abstract DoubleVector | |
public final DoubleVector | viewAsFloatingLanes()
Implements abstract jdk. |
public final LongVector | viewAsIntegralLanes()
Implements abstract jdk. |
pack-priv final DoubleVector | |
pack-priv final DoubleVector | |
pack-priv abstract DoubleVector. | |
public abstract DoubleVector | Returns: the result of replacing the lane element of this vector at lane indexi with value e .the lane index of the lane element to be replaced i, double the value to be placed e)Replaces the lane element of this vector at lane index |
private ArrayIndexOutOfBoundsException | |
public static DoubleVector | Returns: a zero vectorspecies of the desired zero vector species)Returns a vector of the given species where all lane elements are set to zero, the default primitive value. |