static ByteVector |
ByteVector.broadcast(Species<Byte> s,
byte e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
static DoubleVector |
DoubleVector.broadcast(Species<Double> s,
double e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
static FloatVector |
FloatVector.broadcast(Species<Float> s,
float e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
static IntVector |
IntVector.broadcast(Species<Integer> s,
int e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
static LongVector |
LongVector.broadcast(Species<Long> s,
long e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
static ShortVector |
ShortVector.broadcast(Species<Short> s,
short e) |
Returns a vector where all lane elements are set to the primitive
value e .
|
abstract <F> Mask<F> |
Mask.cast(Species<F> s) |
Converts this mask to a mask of the given species shape of element type F .
|
abstract <F> Shuffle<F> |
Shuffle.cast(Species<F> species) |
Converts this shuffle to a shuffle of the given species of element type F .
|
abstract <F> Vector<F> |
Vector.cast(Species<F> s) |
Converts this vector to a vector of the given species element type F .
|
static ByteVector |
ByteVector.fromArray(Species<Byte> species,
byte[] a,
int i) |
Loads a vector from an array starting at offset.
|
static ByteVector |
ByteVector.fromArray(Species<Byte> species,
byte[] a,
int i,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map.
|
static ByteVector |
ByteVector.fromArray(Species<Byte> species,
byte[] a,
int i,
Mask<Byte> m) |
Loads a vector from an array starting at offset and using a mask.
|
static ByteVector |
ByteVector.fromArray(Species<Byte> species,
byte[] a,
int i,
Mask<Byte> m,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static DoubleVector |
DoubleVector.fromArray(Species<Double> species,
double[] a,
int i) |
Loads a vector from an array starting at offset.
|
static DoubleVector |
DoubleVector.fromArray(Species<Double> species,
double[] a,
int i,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map.
|
static DoubleVector |
DoubleVector.fromArray(Species<Double> species,
double[] a,
int i,
Mask<Double> m) |
Loads a vector from an array starting at offset and using a mask.
|
static DoubleVector |
DoubleVector.fromArray(Species<Double> species,
double[] a,
int i,
Mask<Double> m,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static FloatVector |
FloatVector.fromArray(Species<Float> species,
float[] a,
int i) |
Loads a vector from an array starting at offset.
|
static FloatVector |
FloatVector.fromArray(Species<Float> species,
float[] a,
int i,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map.
|
static FloatVector |
FloatVector.fromArray(Species<Float> species,
float[] a,
int i,
Mask<Float> m) |
Loads a vector from an array starting at offset and using a mask.
|
static FloatVector |
FloatVector.fromArray(Species<Float> species,
float[] a,
int i,
Mask<Float> m,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static IntVector |
IntVector.fromArray(Species<Integer> species,
int[] a,
int i) |
Loads a vector from an array starting at offset.
|
static IntVector |
IntVector.fromArray(Species<Integer> species,
int[] a,
int i,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map.
|
static IntVector |
IntVector.fromArray(Species<Integer> species,
int[] a,
int i,
Mask<Integer> m) |
Loads a vector from an array starting at offset and using a mask.
|
static IntVector |
IntVector.fromArray(Species<Integer> species,
int[] a,
int i,
Mask<Integer> m,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static LongVector |
LongVector.fromArray(Species<Long> species,
long[] a,
int i) |
Loads a vector from an array starting at offset.
|
static LongVector |
LongVector.fromArray(Species<Long> species,
long[] a,
int i,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map.
|
static LongVector |
LongVector.fromArray(Species<Long> species,
long[] a,
int i,
Mask<Long> m) |
Loads a vector from an array starting at offset and using a mask.
|
static LongVector |
LongVector.fromArray(Species<Long> species,
long[] a,
int i,
Mask<Long> m,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static <E> Mask<E> |
Mask.fromArray(Species<E> species,
boolean[] bits,
int ix) |
Loads a mask from a boolean array starting at an offset.
|
static ShortVector |
ShortVector.fromArray(Species<Short> species,
short[] a,
int i) |
Loads a vector from an array starting at offset.
|
static ShortVector |
ShortVector.fromArray(Species<Short> species,
short[] a,
int i,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map.
|
static ShortVector |
ShortVector.fromArray(Species<Short> species,
short[] a,
int i,
Mask<Short> m) |
Loads a vector from an array starting at offset and using a mask.
|
static ShortVector |
ShortVector.fromArray(Species<Short> species,
short[] a,
int i,
Mask<Short> m,
int[] indexMap,
int j) |
Loads a vector from an array using indexes obtained from an index
map and using a mask.
|
static <E> Shuffle<E> |
Shuffle.fromArray(Species<E> species,
int[] ixs,
int i) |
Loads a shuffle from an int array starting at an offset.
|
static ByteVector |
ByteVector.fromByteArray(Species<Byte> species,
byte[] a,
int ix) |
Loads a vector from a byte array starting at an offset.
|
static ByteVector |
ByteVector.fromByteArray(Species<Byte> species,
byte[] a,
int ix,
Mask<Byte> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static DoubleVector |
DoubleVector.fromByteArray(Species<Double> species,
byte[] a,
int ix) |
Loads a vector from a byte array starting at an offset.
|
static DoubleVector |
DoubleVector.fromByteArray(Species<Double> species,
byte[] a,
int ix,
Mask<Double> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static FloatVector |
FloatVector.fromByteArray(Species<Float> species,
byte[] a,
int ix) |
Loads a vector from a byte array starting at an offset.
|
static FloatVector |
FloatVector.fromByteArray(Species<Float> species,
byte[] a,
int ix,
Mask<Float> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static IntVector |
IntVector.fromByteArray(Species<Integer> species,
byte[] a,
int ix) |
Loads a vector from a byte array starting at an offset.
|
static IntVector |
IntVector.fromByteArray(Species<Integer> species,
byte[] a,
int ix,
Mask<Integer> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static LongVector |
LongVector.fromByteArray(Species<Long> species,
byte[] a,
int ix) |
Loads a vector from a byte array starting at an offset.
|
static LongVector |
LongVector.fromByteArray(Species<Long> species,
byte[] a,
int ix,
Mask<Long> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static ShortVector |
ShortVector.fromByteArray(Species<Short> species,
byte[] a,
int ix) |
Loads a vector from a byte array starting at an offset.
|
static ShortVector |
ShortVector.fromByteArray(Species<Short> species,
byte[] a,
int ix,
Mask<Short> m) |
Loads a vector from a byte array starting at an offset and using a
mask.
|
static ByteVector |
ByteVector.fromByteBuffer(Species<Byte> species,
ByteBuffer bb,
int ix) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer.
|
static ByteVector |
ByteVector.fromByteBuffer(Species<Byte> species,
ByteBuffer bb,
int ix,
Mask<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(Species<Double> species,
ByteBuffer bb,
int ix) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer.
|
static DoubleVector |
DoubleVector.fromByteBuffer(Species<Double> species,
ByteBuffer bb,
int ix,
Mask<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(Species<Float> species,
ByteBuffer bb,
int ix) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer.
|
static FloatVector |
FloatVector.fromByteBuffer(Species<Float> species,
ByteBuffer bb,
int ix,
Mask<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(Species<Integer> species,
ByteBuffer bb,
int ix) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer.
|
static IntVector |
IntVector.fromByteBuffer(Species<Integer> species,
ByteBuffer bb,
int ix,
Mask<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(Species<Long> species,
ByteBuffer bb,
int ix) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer.
|
static LongVector |
LongVector.fromByteBuffer(Species<Long> species,
ByteBuffer bb,
int ix,
Mask<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(Species<Short> species,
ByteBuffer bb,
int ix) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer.
|
static ShortVector |
ShortVector.fromByteBuffer(Species<Short> species,
ByteBuffer bb,
int ix,
Mask<Short> m) |
Loads a vector from a byte buffer starting at an
offset into the byte buffer and using a mask.
|
static <E> Mask<E> |
Mask.fromValues(Species<E> species,
boolean... bits) |
Returns a mask where each lane is set or unset according to given
boolean values
|
static <E> Shuffle<E> |
Shuffle.fromValues(Species<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> Mask<E> |
Mask.maskAllFalse(Species<E> species) |
Returns a mask where all lanes are unset.
|
static <E> Mask<E> |
Mask.maskAllTrue(Species<E> species) |
Returns a mask where all lanes are set.
|
static ByteVector |
ByteVector.random(Species<Byte> s) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
static DoubleVector |
DoubleVector.random(Species<Double> s) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
static FloatVector |
FloatVector.random(Species<Float> s) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
static IntVector |
IntVector.random(Species<Integer> s) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
static LongVector |
LongVector.random(Species<Long> s) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
static ShortVector |
ShortVector.random(Species<Short> s) |
Returns a vector where each lane element is set to a randomly
generated primitive value.
|
abstract <F> Vector<F> |
Vector.reinterpret(Species<F> s) |
Transforms this vector to a vector of the given species of element type F .
|
abstract Vector<E> |
Vector.reshape(Species<E> s) |
Transforms this vector to a vector of same element type but different shape identified by species.
|
static ByteVector |
ByteVector.scalars(Species<Byte> s,
byte... es) |
Returns a vector where each lane element is set to a given
primitive value.
|
static DoubleVector |
DoubleVector.scalars(Species<Double> s,
double... es) |
Returns a vector where each lane element is set to a given
primitive value.
|
static FloatVector |
FloatVector.scalars(Species<Float> s,
float... es) |
Returns a vector where each lane element is set to a given
primitive value.
|
static IntVector |
IntVector.scalars(Species<Integer> s,
int... es) |
Returns a vector where each lane element is set to a given
primitive value.
|
static LongVector |
LongVector.scalars(Species<Long> s,
long... es) |
Returns a vector where each lane element is set to a given
primitive value.
|
static ShortVector |
ShortVector.scalars(Species<Short> s,
short... es) |
Returns a vector where each lane element is set to a given
primitive value.
|
static <E> Shuffle<E> |
Shuffle.shuffle(Species<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> Shuffle<E> |
Shuffle.shuffleIota(Species<E> species) |
Returns a shuffle where each lane element is the value of its
corresponding lane index.
|
static ByteVector |
ByteVector.single(Species<Byte> s,
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(Species<Double> s,
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(Species<Float> s,
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(Species<Integer> s,
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(Species<Long> s,
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(Species<Short> s,
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(Species<Byte> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|
static DoubleVector |
DoubleVector.zero(Species<Double> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|
static FloatVector |
FloatVector.zero(Species<Float> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|
static IntVector |
IntVector.zero(Species<Integer> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|
static LongVector |
LongVector.zero(Species<Long> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|
static ShortVector |
ShortVector.zero(Species<Short> species) |
Returns a vector where all lane elements are set to the default
primitive value.
|