インタフェースjdk.incubator.vector.VectorSpeciesの
使用
VectorSpeciesを使用するパッケージ
-
jdk.incubator.vectorでのVectorSpeciesの使用
VectorSpeciesとして宣言されたjdk.incubator.vectorのフィールド修飾子と型フィールド説明static final VectorSpecies<Byte> ByteVector.SPECIES_128static final VectorSpecies<Double> DoubleVector.SPECIES_128static final VectorSpecies<Float> FloatVector.SPECIES_128static final VectorSpecies<Integer> IntVector.SPECIES_128static final VectorSpecies<Long> LongVector.SPECIES_128static final VectorSpecies<Short> ShortVector.SPECIES_128static final VectorSpecies<Byte> ByteVector.SPECIES_256static final VectorSpecies<Double> DoubleVector.SPECIES_256static final VectorSpecies<Float> FloatVector.SPECIES_256static final VectorSpecies<Integer> IntVector.SPECIES_256static final VectorSpecies<Long> LongVector.SPECIES_256static final VectorSpecies<Short> ShortVector.SPECIES_256static final VectorSpecies<Byte> ByteVector.SPECIES_512static final VectorSpecies<Double> DoubleVector.SPECIES_512static final VectorSpecies<Float> FloatVector.SPECIES_512static final VectorSpecies<Integer> IntVector.SPECIES_512static final VectorSpecies<Long> LongVector.SPECIES_512static final VectorSpecies<Short> ShortVector.SPECIES_512static final VectorSpecies<Byte> ByteVector.SPECIES_64static final VectorSpecies<Double> DoubleVector.SPECIES_64static final VectorSpecies<Float> FloatVector.SPECIES_64static final VectorSpecies<Integer> IntVector.SPECIES_64static final VectorSpecies<Long> LongVector.SPECIES_64static final VectorSpecies<Short> ShortVector.SPECIES_64static final VectorSpecies<Byte> ByteVector.SPECIES_MAXstatic final VectorSpecies<Double> DoubleVector.SPECIES_MAXstatic final VectorSpecies<Float> FloatVector.SPECIES_MAXstatic final VectorSpecies<Integer> IntVector.SPECIES_MAXstatic final VectorSpecies<Long> LongVector.SPECIES_MAXstatic final VectorSpecies<Short> ShortVector.SPECIES_MAXstatic final VectorSpecies<Byte> ByteVector.SPECIES_PREFERREDByteVectorの優先種。static final VectorSpecies<Double> DoubleVector.SPECIES_PREFERREDDoubleVectorの優先種。static final VectorSpecies<Float> FloatVector.SPECIES_PREFERREDFloatVectorの優先種。static final VectorSpecies<Integer> IntVector.SPECIES_PREFERREDIntVectorの優先種。static final VectorSpecies<Long> LongVector.SPECIES_PREFERREDLongVectorの優先種。static final VectorSpecies<Short> ShortVector.SPECIES_PREFERREDShortVectorの優先種。修飾子と型メソッド説明<F> VectorSpecies<F> この種が指定された要素型を持っているかどうかを判定し、この種をそのまま返します。static <E> VectorSpecies<E> VectorSpecies.of(Class<E> elementType, VectorShape shape) 要素の型とシェイプの種を検索します。static <E> VectorSpecies<E> VectorSpecies.ofLargestShape(Class<E> etype) 指定された要素型の最大のベクトル種を検索します。static <E> VectorSpecies<E> VectorSpecies.ofPreferred(Class<E> etype) 指定されたベクトル要素型について、現在のプラットフォームが優先する種を検索します。abstract VectorSpecies<E> Vector.species()このベクトルの種を返します。abstract VectorSpecies<E> VectorMask.vectorSpecies()このマスクが適用されるベクトル種を返します。abstract VectorSpecies<E> VectorShuffle.vectorSpecies()このシャッフルの種を返します。<E> VectorSpecies<E> 指定された要素型と現在のシェイプを持つベクトル種を検索します。<F> VectorSpecies<F> 指定された要素タイプとこの種と同じシェイプを持つ種を検索します。VectorSpecies.withShape(VectorShape newShape) 指定されたシェイプとこの種と同じelementTypeを持つ種を検索します。型VectorSpeciesのパラメータを持つjdk.incubator.vectorのメソッド修飾子と型メソッド説明static ByteVectorByteVector.broadcast(VectorSpecies<Byte> species, byte e) すべてのレーン要素がプリミティブ値eに設定されている、指定された種のベクトルを返します。static ByteVectorByteVector.broadcast(VectorSpecies<Byte> species, long e) すべてのレーン要素がプリミティブ値eに設定されている、指定された種のベクトルを返します。static DoubleVectorDoubleVector.broadcast(VectorSpecies<Double> species, double e) すべてのレーン要素がプリミティブ値eに設定されている、指定された種のベクトルを返します。static DoubleVectorDoubleVector.broadcast(VectorSpecies<Double> species, long e) すべてのレーン要素がプリミティブ値eに設定されている、指定された種のベクトルを返します。static FloatVectorFloatVector.broadcast(VectorSpecies<Float> species, float e) すべてのレーン要素がプリミティブ値eに設定されている、指定された種のベクトルを返します。static FloatVectorFloatVector.broadcast(VectorSpecies<Float> species, long e) すべてのレーン要素がプリミティブ値eに設定されている、指定された種のベクトルを返します。static IntVectorIntVector.broadcast(VectorSpecies<Integer> species, int e) すべてのレーン要素がプリミティブ値eに設定されている、指定された種のベクトルを返します。static IntVectorIntVector.broadcast(VectorSpecies<Integer> species, long e) すべてのレーン要素がプリミティブ値eに設定されている、指定された種のベクトルを返します。static LongVectorLongVector.broadcast(VectorSpecies<Long> species, long e) すべてのレーン要素がプリミティブ値eに設定されている、指定された種のベクトルを返します。static ShortVectorShortVector.broadcast(VectorSpecies<Short> species, long e) すべてのレーン要素がプリミティブ値eに設定されている、指定された種のベクトルを返します。static ShortVectorShortVector.broadcast(VectorSpecies<Short> species, short e) すべてのレーン要素がプリミティブ値eに設定されている、指定された種のベクトルを返します。abstract <F> VectorMask<F> VectorMask.cast(VectorSpecies<F> species) このマスクを、指定された種の要素型Fのマスクに変換します。abstract <F> VectorShuffle<F> VectorShuffle.cast(VectorSpecies<F> species) このシャッフルを、要素型Fの指定された種のシャッフルに変換します。abstract <F> Vector<F> Vector.castShape(VectorSpecies<F> rsp, int part) ベクトルをあるレーン・タイプから別のレーン・タイプに変換する便利なメソッドで、レーン・サイズが変更されたときに必要に応じてシェイプを変更します。abstract <F> Vector<F> Vector.check(VectorSpecies<F> species) このベクトルが指定された種を持っているかどうかを判定し、このベクトルをそのまま返します。abstract <F> VectorMask<F> VectorMask.check(VectorSpecies<F> species) このマスクが指定された種を持っていることを確認し、このマスクをそのまま返します。abstract <F> VectorShuffle<F> VectorShuffle.check(VectorSpecies<F> species) このシャッフルが指定された種を持っていることを確認し、このシャッフルをそのまま返します。abstract <F> Vector<F> Vector.convertShape(VectorOperators.Conversion<E, F> conv, VectorSpecies<F> rsp, int part) 指定された「変換」に従って、このベクトルを指定された種、シェイプ、および要素型のベクトルに変換し、レーン値を現在のETYPEから新しいレーン型(ここではFTYPEと呼びます)に変換します。static ByteVectorByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset) オフセットから始まるbyte[]型の配列からベクトルをロードします。static ByteVectorByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset, int[] indexMap, int mapOffset) 「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用して、byte[]タイプの配列から要素で構成される新しいベクトルを収集します。static ByteVectorByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Byte> m) マスクの制御下にあるbyte[]型の配列から要素で構成される新しいベクトルを収集し、「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用します。static ByteVectorByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset, VectorMask<Byte> m) オフセットからマスクを使用して、byte[]型の配列からベクトルをロードします。static DoubleVectorDoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset) オフセットから始まるdouble[]型の配列からベクトルをロードします。static DoubleVectorDoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset, int[] indexMap, int mapOffset) 「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用して、double[]タイプの配列から要素で構成される新しいベクトルを収集します。static DoubleVectorDoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Double> m) マスクの制御下にあるdouble[]型の配列から要素で構成される新しいベクトルを収集し、「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用します。static DoubleVectorDoubleVector.fromArray(VectorSpecies<Double> species, double[] a, int offset, VectorMask<Double> m) オフセットからマスクを使用して、double[]型の配列からベクトルをロードします。static FloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset) オフセットから始まるfloat[]型の配列からベクトルをロードします。static FloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset, int[] indexMap, int mapOffset) 「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用して、float[]タイプの配列から要素で構成される新しいベクトルを収集します。static FloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Float> m) マスクの制御下にあるfloat[]型の配列から要素で構成される新しいベクトルを収集し、「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用します。static FloatVectorFloatVector.fromArray(VectorSpecies<Float> species, float[] a, int offset, VectorMask<Float> m) オフセットからマスクを使用して、float[]型の配列からベクトルをロードします。static IntVectorIntVector.fromArray(VectorSpecies<Integer> species, int[] a, int offset) オフセットから始まるint[]型の配列からベクトルをロードします。static IntVectorIntVector.fromArray(VectorSpecies<Integer> species, int[] a, int offset, int[] indexMap, int mapOffset) 「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用して、int[]タイプの配列から要素で構成される新しいベクトルを収集します。static IntVectorIntVector.fromArray(VectorSpecies<Integer> species, int[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Integer> m) マスクの制御下にあるint[]型の配列から要素で構成される新しいベクトルを収集し、「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用します。static IntVectorIntVector.fromArray(VectorSpecies<Integer> species, int[] a, int offset, VectorMask<Integer> m) オフセットからマスクを使用して、int[]型の配列からベクトルをロードします。static LongVectorLongVector.fromArray(VectorSpecies<Long> species, long[] a, int offset) オフセットから始まるlong[]型の配列からベクトルをロードします。static LongVectorLongVector.fromArray(VectorSpecies<Long> species, long[] a, int offset, int[] indexMap, int mapOffset) 「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用して、long[]タイプの配列から要素で構成される新しいベクトルを収集します。static LongVectorLongVector.fromArray(VectorSpecies<Long> species, long[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Long> m) マスクの制御下にあるlong[]型の配列から要素で構成される新しいベクトルを収集し、「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用します。static LongVectorLongVector.fromArray(VectorSpecies<Long> species, long[] a, int offset, VectorMask<Long> m) オフセットからマスクを使用して、long[]型の配列からベクトルをロードします。static ShortVectorShortVector.fromArray(VectorSpecies<Short> species, short[] a, int offset) オフセットから始まるshort[]型の配列からベクトルをロードします。static ShortVectorShortVector.fromArray(VectorSpecies<Short> species, short[] a, int offset, int[] indexMap, int mapOffset) 「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用して、short[]タイプの配列から要素で構成される新しいベクトルを収集します。static ShortVectorShortVector.fromArray(VectorSpecies<Short> species, short[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Short> m) マスクの制御下にあるshort[]型の配列から要素で構成される新しいベクトルを収集し、「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用します。static ShortVectorShortVector.fromArray(VectorSpecies<Short> species, short[] a, int offset, VectorMask<Short> m) オフセットからマスクを使用して、short[]型の配列からベクトルをロードします。static <E> VectorMask<E> VectorMask.fromArray(VectorSpecies<E> species, boolean[] bits, int offset) オフセットから始まるboolean配列からマスクをロードします。static <E> VectorShuffle<E> VectorShuffle.fromArray(VectorSpecies<E> species, int[] sourceIndexes, int offset) オフセットから始まるint配列から、指定された種のシャッフルを作成します。static ByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset) オフセットから始まるboolean[]型の配列からベクトルをロードします。static ByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset, int[] indexMap, int mapOffset) 「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用して、boolean[]タイプの配列から要素で構成される新しいベクトルを収集します。static ByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Byte> m) マスクの制御下にあるboolean[]型の配列から要素で構成される新しいベクトルを収集し、「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用します。static ByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset, VectorMask<Byte> m) オフセットからマスクを使用して、boolean[]型の配列からベクトルをロードします。static ShortVectorShortVector.fromCharArray(VectorSpecies<Short> species, char[] a, int offset) オフセットから始まるchar[]型の配列からベクトルをロードします。static ShortVectorShortVector.fromCharArray(VectorSpecies<Short> species, char[] a, int offset, int[] indexMap, int mapOffset) 「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用して、char[]タイプの配列から要素で構成される新しいベクトルを収集します。static ShortVectorShortVector.fromCharArray(VectorSpecies<Short> species, char[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Short> m) マスクの制御下にあるchar[]型の配列から要素で構成される新しいベクトルを収集し、「索引マップ」から一連のセカンダリ・オフセットに固定offsetを追加して取得した索引を使用します。static ShortVectorShortVector.fromCharArray(VectorSpecies<Short> species, char[] a, int offset, VectorMask<Short> m) オフセットからマスクを使用して、char[]型の配列からベクトルをロードします。static <E> VectorMask<E> VectorMask.fromLong(VectorSpecies<E> species, long bits) 指定されたビット・マスク内のビットに従って、最下位ビットから符号ビットまで、各レーンが設定または設定解除されているマスクを返します。static ByteVectorByteVector.fromMemorySegment(VectorSpecies<Byte> species, MemorySegment ms, long offset, ByteOrder bo) オフセットから始まる「メモリー・セグメント」からベクトルをメモリー・セグメントにロードします。static ByteVectorByteVector.fromMemorySegment(VectorSpecies<Byte> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Byte> m) オフセットから始まる「メモリー・セグメント」からメモリー・セグメントにベクトルをロードし、マスクを使用します。static DoubleVectorDoubleVector.fromMemorySegment(VectorSpecies<Double> species, MemorySegment ms, long offset, ByteOrder bo) オフセットから始まる「メモリー・セグメント」からベクトルをメモリー・セグメントにロードします。static DoubleVectorDoubleVector.fromMemorySegment(VectorSpecies<Double> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Double> m) オフセットから始まる「メモリー・セグメント」からメモリー・セグメントにベクトルをロードし、マスクを使用します。static FloatVectorFloatVector.fromMemorySegment(VectorSpecies<Float> species, MemorySegment ms, long offset, ByteOrder bo) オフセットから始まる「メモリー・セグメント」からベクトルをメモリー・セグメントにロードします。static FloatVectorFloatVector.fromMemorySegment(VectorSpecies<Float> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Float> m) オフセットから始まる「メモリー・セグメント」からメモリー・セグメントにベクトルをロードし、マスクを使用します。static IntVectorIntVector.fromMemorySegment(VectorSpecies<Integer> species, MemorySegment ms, long offset, ByteOrder bo) オフセットから始まる「メモリー・セグメント」からベクトルをメモリー・セグメントにロードします。static IntVectorIntVector.fromMemorySegment(VectorSpecies<Integer> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Integer> m) オフセットから始まる「メモリー・セグメント」からメモリー・セグメントにベクトルをロードし、マスクを使用します。static LongVectorLongVector.fromMemorySegment(VectorSpecies<Long> species, MemorySegment ms, long offset, ByteOrder bo) オフセットから始まる「メモリー・セグメント」からベクトルをメモリー・セグメントにロードします。static LongVectorLongVector.fromMemorySegment(VectorSpecies<Long> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Long> m) オフセットから始まる「メモリー・セグメント」からメモリー・セグメントにベクトルをロードし、マスクを使用します。static ShortVectorShortVector.fromMemorySegment(VectorSpecies<Short> species, MemorySegment ms, long offset, ByteOrder bo) オフセットから始まる「メモリー・セグメント」からベクトルをメモリー・セグメントにロードします。static ShortVectorShortVector.fromMemorySegment(VectorSpecies<Short> species, MemorySegment ms, long offset, ByteOrder bo, VectorMask<Short> m) オフセットから始まる「メモリー・セグメント」からメモリー・セグメントにベクトルをロードし、マスクを使用します。static <E> VectorShuffle<E> VectorShuffle.fromOp(VectorSpecies<E> species, IntUnaryOperator fn) 範囲[0..VLENGTH-1]に適用される演算子の連続する値から、指定された種のシャッフルを作成します。static <E> VectorMask<E> VectorMask.fromValues(VectorSpecies<E> species, boolean... bits) 指定されたboolean値に従って各レーンが設定または設定解除されるマスクを返します。static <E> VectorShuffle<E> VectorShuffle.fromValues(VectorSpecies<E> species, int... sourceIndexes) 一連のソース・インデックスから、指定された種のシャッフルを作成します。static <E> VectorShuffle<E> VectorShuffle.iota(VectorSpecies<E> species, int start, int step, boolean wrap) startから始まり、指定されたstepによってステップ実行される連続値に設定されたソース索引を使用してシャッフルを作成します。static <E> VectorShuffle<E> VectorShuffle.makeUnzip(VectorSpecies<E> species, int part) 2つのベクトルの連結を解凍するシャッフルを作成します。代わりに、入力レーンを1つまたは他の出力ベクトルに格納します。static <E> VectorShuffle<E> VectorShuffle.makeZip(VectorSpecies<E> species, int part) 2つのベクトルをまとめて圧縮するシャッフルを作成します。代わりに、一方のベクトルからレーンを選択します。intVectorSpecies.partLimit(VectorSpecies<?> outputSpecies, boolean lanewise) この種と別の種を指定すると、「再解釈キャスト」またはlane-wise conversionのサイズを変更する(潜在的)のネット拡張または縮小が、この種から秒にレポートされます。abstract <F> Vector<F> Vector.reinterpretShape(VectorSpecies<F> species, int part) 値の変換を実行せずに、このベクトルを要素型Fの指定された種のベクトルに変換し、このベクトルのバイトを再解釈します。static ByteVectorByteVector.zero(VectorSpecies<Byte> species) すべてのレーン要素がデフォルトのプリミティブ値であるゼロに設定されている、指定された種のベクトルを返します。static DoubleVectorDoubleVector.zero(VectorSpecies<Double> species) すべてのレーン要素がデフォルトのプリミティブ値であるゼロに設定されている、指定された種のベクトルを返します。static FloatVectorFloatVector.zero(VectorSpecies<Float> species) すべてのレーン要素がデフォルトのプリミティブ値であるゼロに設定されている、指定された種のベクトルを返します。static IntVectorIntVector.zero(VectorSpecies<Integer> species) すべてのレーン要素がデフォルトのプリミティブ値であるゼロに設定されている、指定された種のベクトルを返します。static LongVectorLongVector.zero(VectorSpecies<Long> species) すべてのレーン要素がデフォルトのプリミティブ値であるゼロに設定されている、指定された種のベクトルを返します。static ShortVectorShortVector.zero(VectorSpecies<Short> species) すべてのレーン要素がデフォルトのプリミティブ値であるゼロに設定されている、指定された種のベクトルを返します。