Vector.Narrow Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
Narrow(Vector<UInt64>, Vector<UInt64>) |
Сводит два экземпляра |
Narrow(Vector<UInt32>, Vector<UInt32>) |
Сводит два экземпляра |
Narrow(Vector<UInt16>, Vector<UInt16>) |
Сводит два экземпляра |
Narrow(Vector<Int32>, Vector<Int32>) |
Сводит два экземпляра |
Narrow(Vector<Int16>, Vector<Int16>) |
Сводит два экземпляра |
Narrow(Vector<Double>, Vector<Double>) |
Сводит два экземпляра |
Narrow(Vector<Int64>, Vector<Int64>) |
Сводит два экземпляра |
Narrow(Vector<UInt64>, Vector<UInt64>)
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
Важно!
Этот API несовместим с CLS.
Сводит два экземпляра Vector<UInt64>
в один Vector<UInt32>
.
public:
static System::Numerics::Vector<System::UInt32> Narrow(System::Numerics::Vector<System::UInt64> source1, System::Numerics::Vector<System::UInt64> source2);
public:
static System::Numerics::Vector<System::UInt32> Narrow(System::Numerics::Vector<System::UInt64> low, System::Numerics::Vector<System::UInt64> high);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<uint> Narrow (System.Numerics.Vector<ulong> source1, System.Numerics.Vector<ulong> source2);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<uint> Narrow (System.Numerics.Vector<ulong> low, System.Numerics.Vector<ulong> high);
[<System.CLSCompliant(false)>]
static member Narrow : System.Numerics.Vector<uint64> * System.Numerics.Vector<uint64> -> System.Numerics.Vector<uint32>
Public Shared Function Narrow (source1 As Vector(Of ULong), source2 As Vector(Of ULong)) As Vector(Of UInteger)
Public Function Narrow (low As Vector(Of ULong), high As Vector(Of ULong)) As Vector(Of UInteger)
Параметры
Первый исходный вектор, элементы которого становятся элементами нижнего индекса возвращаемого значения.
Второй исходный вектор, элементы которого становятся элементами верхнего индекса возвращаемого значения.
Возвращаемое значение
Объект Vector<UInt32>
, содержащий элементы, сведенные из исходных векторов.
- Атрибуты
Применяется к
Narrow(Vector<UInt32>, Vector<UInt32>)
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
Важно!
Этот API несовместим с CLS.
Сводит два экземпляра Vector<UInt32>
в один Vector<UInt16>
.
public:
static System::Numerics::Vector<System::UInt16> Narrow(System::Numerics::Vector<System::UInt32> source1, System::Numerics::Vector<System::UInt32> source2);
public:
static System::Numerics::Vector<System::UInt16> Narrow(System::Numerics::Vector<System::UInt32> low, System::Numerics::Vector<System::UInt32> high);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<ushort> Narrow (System.Numerics.Vector<uint> source1, System.Numerics.Vector<uint> source2);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<ushort> Narrow (System.Numerics.Vector<uint> low, System.Numerics.Vector<uint> high);
[<System.CLSCompliant(false)>]
static member Narrow : System.Numerics.Vector<uint32> * System.Numerics.Vector<uint32> -> System.Numerics.Vector<uint16>
Public Shared Function Narrow (source1 As Vector(Of UInteger), source2 As Vector(Of UInteger)) As Vector(Of UShort)
Public Function Narrow (low As Vector(Of UInteger), high As Vector(Of UInteger)) As Vector(Of UShort)
Параметры
Первый исходный вектор, элементы которого становятся элементами нижнего индекса возвращаемого значения.
Второй исходный вектор, элементы которого становятся элементами верхнего индекса возвращаемого значения.
Возвращаемое значение
Объект Vector<UInt16>
, содержащий элементы, сведенные из исходных векторов.
- Атрибуты
Применяется к
Narrow(Vector<UInt16>, Vector<UInt16>)
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
Важно!
Этот API несовместим с CLS.
Сводит два экземпляра Vector<UInt16>
в один Vector<Byte>
.
public:
static System::Numerics::Vector<System::Byte> Narrow(System::Numerics::Vector<System::UInt16> source1, System::Numerics::Vector<System::UInt16> source2);
public:
static System::Numerics::Vector<System::Byte> Narrow(System::Numerics::Vector<System::UInt16> low, System::Numerics::Vector<System::UInt16> high);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<byte> Narrow (System.Numerics.Vector<ushort> source1, System.Numerics.Vector<ushort> source2);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<byte> Narrow (System.Numerics.Vector<ushort> low, System.Numerics.Vector<ushort> high);
[<System.CLSCompliant(false)>]
static member Narrow : System.Numerics.Vector<uint16> * System.Numerics.Vector<uint16> -> System.Numerics.Vector<byte>
Public Shared Function Narrow (source1 As Vector(Of UShort), source2 As Vector(Of UShort)) As Vector(Of Byte)
Public Function Narrow (low As Vector(Of UShort), high As Vector(Of UShort)) As Vector(Of Byte)
Параметры
Первый исходный вектор, элементы которого становятся элементами нижнего индекса возвращаемого значения.
Второй исходный вектор, элементы которого становятся элементами верхнего индекса возвращаемого значения.
Возвращаемое значение
Объект Vector<Byte>
, содержащий элементы, сведенные из исходных векторов.
- Атрибуты
Применяется к
Narrow(Vector<Int32>, Vector<Int32>)
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
Сводит два экземпляра Vector<Int32>
в один Vector<Int16>
.
public:
static System::Numerics::Vector<short> Narrow(System::Numerics::Vector<int> source1, System::Numerics::Vector<int> source2);
public:
static System::Numerics::Vector<short> Narrow(System::Numerics::Vector<int> low, System::Numerics::Vector<int> high);
public static System.Numerics.Vector<short> Narrow (System.Numerics.Vector<int> source1, System.Numerics.Vector<int> source2);
public static System.Numerics.Vector<short> Narrow (System.Numerics.Vector<int> low, System.Numerics.Vector<int> high);
static member Narrow : System.Numerics.Vector<int> * System.Numerics.Vector<int> -> System.Numerics.Vector<int16>
static member Narrow : System.Numerics.Vector<int> * System.Numerics.Vector<int> -> System.Numerics.Vector<int16>
Public Shared Function Narrow (source1 As Vector(Of Integer), source2 As Vector(Of Integer)) As Vector(Of Short)
Public Function Narrow (low As Vector(Of Integer), high As Vector(Of Integer)) As Vector(Of Short)
Параметры
Первый исходный вектор, элементы которого становятся элементами нижнего индекса возвращаемого значения.
Второй исходный вектор, элементы которого становятся элементами верхнего индекса возвращаемого значения.
Возвращаемое значение
Объект Vector<Int16>
, содержащий элементы, сведенные из исходных векторов.
Применяется к
Narrow(Vector<Int16>, Vector<Int16>)
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
Важно!
Этот API несовместим с CLS.
Сводит два экземпляра Vector<Int16>
в один Vector<SByte>
.
public:
static System::Numerics::Vector<System::SByte> Narrow(System::Numerics::Vector<short> source1, System::Numerics::Vector<short> source2);
public:
static System::Numerics::Vector<System::SByte> Narrow(System::Numerics::Vector<short> low, System::Numerics::Vector<short> high);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<sbyte> Narrow (System.Numerics.Vector<short> source1, System.Numerics.Vector<short> source2);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<sbyte> Narrow (System.Numerics.Vector<short> low, System.Numerics.Vector<short> high);
[<System.CLSCompliant(false)>]
static member Narrow : System.Numerics.Vector<int16> * System.Numerics.Vector<int16> -> System.Numerics.Vector<sbyte>
Public Shared Function Narrow (source1 As Vector(Of Short), source2 As Vector(Of Short)) As Vector(Of SByte)
Public Function Narrow (low As Vector(Of Short), high As Vector(Of Short)) As Vector(Of SByte)
Параметры
Первый исходный вектор, элементы которого становятся элементами нижнего индекса возвращаемого значения.
Второй исходный вектор, элементы которого становятся элементами верхнего индекса возвращаемого значения.
Возвращаемое значение
Объект Vector<SByte>
, содержащий элементы, сведенные из исходных векторов.
- Атрибуты
Применяется к
Narrow(Vector<Double>, Vector<Double>)
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
Сводит два экземпляра Vector<Double>
в один Vector<Single>
.
public:
static System::Numerics::Vector<float> Narrow(System::Numerics::Vector<double> source1, System::Numerics::Vector<double> source2);
public:
static System::Numerics::Vector<float> Narrow(System::Numerics::Vector<double> low, System::Numerics::Vector<double> high);
public static System.Numerics.Vector<float> Narrow (System.Numerics.Vector<double> source1, System.Numerics.Vector<double> source2);
public static System.Numerics.Vector<float> Narrow (System.Numerics.Vector<double> low, System.Numerics.Vector<double> high);
static member Narrow : System.Numerics.Vector<double> * System.Numerics.Vector<double> -> System.Numerics.Vector<single>
static member Narrow : System.Numerics.Vector<double> * System.Numerics.Vector<double> -> System.Numerics.Vector<single>
Public Shared Function Narrow (source1 As Vector(Of Double), source2 As Vector(Of Double)) As Vector(Of Single)
Public Function Narrow (low As Vector(Of Double), high As Vector(Of Double)) As Vector(Of Single)
Параметры
Первый исходный вектор, элементы которого становятся элементами нижнего индекса возвращаемого значения.
Второй исходный вектор, элементы которого становятся элементами верхнего индекса возвращаемого значения.
Возвращаемое значение
Объект Vector<Single>
, содержащий элементы, сведенные из исходных векторов.
Применяется к
Narrow(Vector<Int64>, Vector<Int64>)
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
- Исходный код:
- Vector.cs
Сводит два экземпляра Vector<Int64>
в один Vector<Int32>
.
public:
static System::Numerics::Vector<int> Narrow(System::Numerics::Vector<long> source1, System::Numerics::Vector<long> source2);
public:
static System::Numerics::Vector<int> Narrow(System::Numerics::Vector<long> low, System::Numerics::Vector<long> high);
public static System.Numerics.Vector<int> Narrow (System.Numerics.Vector<long> source1, System.Numerics.Vector<long> source2);
public static System.Numerics.Vector<int> Narrow (System.Numerics.Vector<long> low, System.Numerics.Vector<long> high);
static member Narrow : System.Numerics.Vector<int64> * System.Numerics.Vector<int64> -> System.Numerics.Vector<int>
static member Narrow : System.Numerics.Vector<int64> * System.Numerics.Vector<int64> -> System.Numerics.Vector<int>
Public Shared Function Narrow (source1 As Vector(Of Long), source2 As Vector(Of Long)) As Vector(Of Integer)
Public Function Narrow (low As Vector(Of Long), high As Vector(Of Long)) As Vector(Of Integer)
Параметры
Первый исходный вектор, элементы которого становятся элементами нижнего индекса возвращаемого значения.
Второй исходный вектор, элементы которого становятся элементами верхнего индекса возвращаемого значения.
Возвращаемое значение
Объект Vector<Int32>
, содержащий элементы, сведенные из исходных векторов.
Применяется к
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по