static ByteVector |
ByteVector.broadcast(VectorSpecies<Byte> species,
byte e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
static DoubleVector |
DoubleVector.broadcast(VectorSpecies<Double> species,
double e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
static FloatVector |
FloatVector.broadcast(VectorSpecies<Float> species,
float e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
static IntVector |
IntVector.broadcast(VectorSpecies<Integer> species,
int e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
static LongVector |
LongVector.broadcast(VectorSpecies<Long> species,
long e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
static ShortVector |
ShortVector.broadcast(VectorSpecies<Short> species,
short e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
abstract <F> Vector<F> |
Vector.cast(VectorSpecies<F> s) |
Converts this vector to a vector of the given species element type F .
|
abstract <F> VectorMask<F> |
VectorMask.cast(VectorSpecies<F> s) |
Converts this mask to a mask of the given species shape of element type F .
|
abstract <F> VectorShuffle<F> |
VectorShuffle.cast(VectorSpecies<F> species) |
Converts this shuffle to a shuffle of the given species of element type F .
|
static ByteVector |
ByteVector.fromArray(VectorSpecies<Byte> species,
byte[] a,
int offset) |
Loads a vector from an array starting at offset.
|
static ByteVector |
ByteVector.fromArray(VectorSpecies<Byte> species,
byte[] a,
int a_offset,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map.
|
static ByteVector |
ByteVector.fromArray(VectorSpecies<Byte> species,
byte[] a,
int offset,
VectorMask<Byte> m) |
Loads a vector from an array starting at offset and using a mask.
|
static ByteVector |
ByteVector.fromArray(VectorSpecies<Byte> species,
byte[] a,
int a_offset,
VectorMask<Byte> m,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static DoubleVector |
DoubleVector.fromArray(VectorSpecies<Double> species,
double[] a,
int offset) |
Loads a vector from an array starting at offset.
|
static DoubleVector |
DoubleVector.fromArray(VectorSpecies<Double> species,
double[] a,
int a_offset,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map.
|
static DoubleVector |
DoubleVector.fromArray(VectorSpecies<Double> species,
double[] a,
int offset,
VectorMask<Double> m) |
Loads a vector from an array starting at offset and using a mask.
|
static DoubleVector |
DoubleVector.fromArray(VectorSpecies<Double> species,
double[] a,
int a_offset,
VectorMask<Double> m,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static FloatVector |
FloatVector.fromArray(VectorSpecies<Float> species,
float[] a,
int offset) |
Loads a vector from an array starting at offset.
|
static FloatVector |
FloatVector.fromArray(VectorSpecies<Float> species,
float[] a,
int a_offset,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map.
|
static FloatVector |
FloatVector.fromArray(VectorSpecies<Float> species,
float[] a,
int offset,
VectorMask<Float> m) |
Loads a vector from an array starting at offset and using a mask.
|
static FloatVector |
FloatVector.fromArray(VectorSpecies<Float> species,
float[] a,
int a_offset,
VectorMask<Float> m,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static IntVector |
IntVector.fromArray(VectorSpecies<Integer> species,
int[] a,
int offset) |
Loads a vector from an array starting at offset.
|
static IntVector |
IntVector.fromArray(VectorSpecies<Integer> species,
int[] a,
int a_offset,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map.
|
static IntVector |
IntVector.fromArray(VectorSpecies<Integer> species,
int[] a,
int offset,
VectorMask<Integer> m) |
Loads a vector from an array starting at offset and using a mask.
|
static IntVector |
IntVector.fromArray(VectorSpecies<Integer> species,
int[] a,
int a_offset,
VectorMask<Integer> m,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static LongVector |
LongVector.fromArray(VectorSpecies<Long> species,
long[] a,
int offset) |
Loads a vector from an array starting at offset.
|
static LongVector |
LongVector.fromArray(VectorSpecies<Long> species,
long[] a,
int a_offset,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map.
|
static LongVector |
LongVector.fromArray(VectorSpecies<Long> species,
long[] a,
int offset,
VectorMask<Long> m) |
Loads a vector from an array starting at offset and using a mask.
|
static LongVector |
LongVector.fromArray(VectorSpecies<Long> species,
long[] a,
int a_offset,
VectorMask<Long> m,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static ShortVector |
ShortVector.fromArray(VectorSpecies<Short> species,
short[] a,
int offset) |
Loads a vector from an array starting at offset.
|
static ShortVector |
ShortVector.fromArray(VectorSpecies<Short> species,
short[] a,
int a_offset,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map.
|
static ShortVector |
ShortVector.fromArray(VectorSpecies<Short> species,
short[] a,
int offset,
VectorMask<Short> m) |
Loads a vector from an array starting at offset and using a mask.
|
static ShortVector |
ShortVector.fromArray(VectorSpecies<Short> species,
short[] a,
int a_offset,
VectorMask<Short> m,
int[] indexMap,
int i_offset) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static <E> VectorMask<E> |
VectorMask.fromArray(VectorSpecies<E> species,
boolean[] bits,
int offset) |
Loads a mask from a boolean array starting at an offset.
|
static <E> VectorShuffle<E> |
VectorShuffle.fromArray(VectorSpecies<E> species,
int[] ixs,
int offset) |
Loads a shuffle from an int array starting at an offset.
|
static ByteVector |
ByteVector.fromByteArray(VectorSpecies<Byte> species,
byte[] a,
int offset) |
Loads a vector from a byte array starting at an offset.
|
static ByteVector |
ByteVector.fromByteArray(VectorSpecies<Byte> species,
byte[] a,
int offset,
VectorMask<Byte> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static DoubleVector |
DoubleVector.fromByteArray(VectorSpecies<Double> species,
byte[] a,
int offset) |
Loads a vector from a byte array starting at an offset.
|
static DoubleVector |
DoubleVector.fromByteArray(VectorSpecies<Double> species,
byte[] a,
int offset,
VectorMask<Double> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static FloatVector |
FloatVector.fromByteArray(VectorSpecies<Float> species,
byte[] a,
int offset) |
Loads a vector from a byte array starting at an offset.
|
static FloatVector |
FloatVector.fromByteArray(VectorSpecies<Float> species,
byte[] a,
int offset,
VectorMask<Float> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static IntVector |
IntVector.fromByteArray(VectorSpecies<Integer> species,
byte[] a,
int offset) |
Loads a vector from a byte array starting at an offset.
|
static IntVector |
IntVector.fromByteArray(VectorSpecies<Integer> species,
byte[] a,
int offset,
VectorMask<Integer> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static LongVector |
LongVector.fromByteArray(VectorSpecies<Long> species,
byte[] a,
int offset) |
Loads a vector from a byte array starting at an offset.
|
static LongVector |
LongVector.fromByteArray(VectorSpecies<Long> species,
byte[] a,
int offset,
VectorMask<Long> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static ShortVector |
ShortVector.fromByteArray(VectorSpecies<Short> species,
byte[] a,
int offset) |
Loads a vector from a byte array starting at an offset.
|
static ShortVector |
ShortVector.fromByteArray(VectorSpecies<Short> species,
byte[] a,
int offset,
VectorMask<Short> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static ByteVector |
ByteVector.fromByteBuffer(VectorSpecies<Byte> species,
ByteBuffer bb,
int offset) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer.
|
static ByteVector |
ByteVector.fromByteBuffer(VectorSpecies<Byte> species,
ByteBuffer bb,
int offset,
VectorMask<Byte> m) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer and using a mask.
|
static DoubleVector |
DoubleVector.fromByteBuffer(VectorSpecies<Double> species,
ByteBuffer bb,
int offset) |
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,
VectorMask<Double> m) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer and using a mask.
|
static FloatVector |
FloatVector.fromByteBuffer(VectorSpecies<Float> species,
ByteBuffer bb,
int offset) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer.
|
static FloatVector |
FloatVector.fromByteBuffer(VectorSpecies<Float> species,
ByteBuffer bb,
int offset,
VectorMask<Float> m) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer and using a mask.
|
static IntVector |
IntVector.fromByteBuffer(VectorSpecies<Integer> species,
ByteBuffer bb,
int offset) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer.
|
static IntVector |
IntVector.fromByteBuffer(VectorSpecies<Integer> species,
ByteBuffer bb,
int offset,
VectorMask<Integer> m) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer and using a mask.
|
static LongVector |
LongVector.fromByteBuffer(VectorSpecies<Long> species,
ByteBuffer bb,
int offset) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer.
|
static LongVector |
LongVector.fromByteBuffer(VectorSpecies<Long> species,
ByteBuffer bb,
int offset,
VectorMask<Long> m) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer and using a mask.
|
static ShortVector |
ShortVector.fromByteBuffer(VectorSpecies<Short> species,
ByteBuffer bb,
int offset) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer.
|
static ShortVector |
ShortVector.fromByteBuffer(VectorSpecies<Short> species,
ByteBuffer bb,
int offset,
VectorMask<Short> m) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer and using a mask.
|
static <E> VectorMask<E> |
VectorMask.fromValues(VectorSpecies<E> species,
boolean... bits) |
Returns a mask where each lane is set or unset according to given
boolean values
|
static <E> VectorShuffle<E> |
VectorShuffle.fromValues(VectorSpecies<E> species,
int... ixs) |
Returns a shuffle where each lane element is set to a given
int value logically AND'ed by the species length minus one.
|
static <E> VectorMask<E> |
VectorMask.maskAllFalse(VectorSpecies<E> species) |
Returns a mask where all lanes are unset.
|
static <E> VectorMask<E> |
VectorMask.maskAllTrue(VectorSpecies<E> species) |
Returns a mask where all lanes are set.
|
static ByteVector |
ByteVector.random(VectorSpecies<Byte> species) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
static DoubleVector |
DoubleVector.random(VectorSpecies<Double> species) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
static FloatVector |
FloatVector.random(VectorSpecies<Float> species) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
static IntVector |
IntVector.random(VectorSpecies<Integer> species) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
static LongVector |
LongVector.random(VectorSpecies<Long> species) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
static ShortVector |
ShortVector.random(VectorSpecies<Short> species) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
abstract <F> Vector<F> |
Vector.reinterpret(VectorSpecies<F> s) |
Transforms this vector to a vector of the given species of element type F .
|
abstract Vector<E> |
Vector.reshape(VectorSpecies<E> s) |
Transforms this vector to a vector of same element type but different shape identified by species.
|
static ByteVector |
ByteVector.scalars(VectorSpecies<Byte> species,
byte... es) |
Returns a vector where each lane element is set to given
primitive values.
|
static DoubleVector |
DoubleVector.scalars(VectorSpecies<Double> species,
double... es) |
Returns a vector where each lane element is set to given
primitive values.
|
static FloatVector |
FloatVector.scalars(VectorSpecies<Float> species,
float... es) |
Returns a vector where each lane element is set to given
primitive values.
|
static IntVector |
IntVector.scalars(VectorSpecies<Integer> species,
int... es) |
Returns a vector where each lane element is set to given
primitive values.
|
static LongVector |
LongVector.scalars(VectorSpecies<Long> species,
long... es) |
Returns a vector where each lane element is set to given
primitive values.
|
static ShortVector |
ShortVector.scalars(VectorSpecies<Short> species,
short... es) |
Returns a vector where each lane element is set to given
primitive values.
|
static <E> VectorShuffle<E> |
VectorShuffle.shuffle(VectorSpecies<E> species,
IntUnaryOperator f) |
Returns a shuffle of mapped indexes where each lane element is
the result of applying a mapping function to the corresponding lane
index.
|
static <E> VectorShuffle<E> |
VectorShuffle.shuffleIota(VectorSpecies<E> species) |
Returns a shuffle where each lane element is the value of its
corresponding lane index.
|
static <E> VectorShuffle<E> |
VectorShuffle.shuffleIota(VectorSpecies<E> species,
int start) |
Returns a shuffle with lane elements set to sequential int values starting from start .
|
static <E> VectorShuffle<E> |
VectorShuffle.shuffleOffset(VectorSpecies<E> species,
int start) |
Returns a shuffle with lane elements set to sequential int values starting from start
and looping around species length.
|
static ByteVector |
ByteVector.single(VectorSpecies<Byte> species,
byte e) |
Returns a vector where the first lane element is set to the primtive
value e , all other lane elements are set to the default
value.
|
static DoubleVector |
DoubleVector.single(VectorSpecies<Double> species,
double e) |
Returns a vector where the first lane element is set to the primtive
value e , all other lane elements are set to the default
value.
|
static FloatVector |
FloatVector.single(VectorSpecies<Float> species,
float e) |
Returns a vector where the first lane element is set to the primtive
value e , all other lane elements are set to the default
value.
|
static IntVector |
IntVector.single(VectorSpecies<Integer> species,
int e) |
Returns a vector where the first lane element is set to the primtive
value e , all other lane elements are set to the default
value.
|
static LongVector |
LongVector.single(VectorSpecies<Long> species,
long e) |
Returns a vector where the first lane element is set to the primtive
value e , all other lane elements are set to the default
value.
|
static ShortVector |
ShortVector.single(VectorSpecies<Short> species,
short e) |
Returns a vector where the first lane element is set to the primtive
value e , all other lane elements are set to the default
value.
|
static ByteVector |
ByteVector.zero(VectorSpecies<Byte> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|
static DoubleVector |
DoubleVector.zero(VectorSpecies<Double> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|
static FloatVector |
FloatVector.zero(VectorSpecies<Float> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|
static IntVector |
IntVector.zero(VectorSpecies<Integer> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|
static LongVector |
LongVector.zero(VectorSpecies<Long> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|
static ShortVector |
ShortVector.zero(VectorSpecies<Short> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|