Vector.Narrow Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| Narrow(Vector<Double>, Vector<Double>) |
Begränsar två |
| Narrow(Vector<Int16>, Vector<Int16>) |
Begränsar två |
| Narrow(Vector<Int32>, Vector<Int32>) |
Begränsar två |
| Narrow(Vector<Int64>, Vector<Int64>) |
Begränsar två |
| Narrow(Vector<UInt16>, Vector<UInt16>) |
Begränsar två |
| Narrow(Vector<UInt32>, Vector<UInt32>) |
Begränsar två |
| Narrow(Vector<UInt64>, Vector<UInt64>) |
Begränsar två |
Narrow(Vector<Double>, Vector<Double>)
Begränsar två Vector<Double> instanser till en 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> source1, System.Numerics.Vector<double> source2);
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)
Parametrar
Den första källvektorn, vars element blir lägre indexelement i returvärdet.
Den andra källvektorn, vars element blir element med högre index i returvärdet.
Returer
Ett Vector<Single> innehållande element som har begränsats från källvektorerna.
Gäller för
Narrow(Vector<Int16>, Vector<Int16>)
Viktigt!
Detta API uppfyller inte CLS.
Begränsar två Vector<Int16> instanser till en Vector<SByte>.
public:
static System::Numerics::Vector<System::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> source1, System.Numerics.Vector<short> source2);
[<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)
Parametrar
Den första källvektorn, vars element blir lägre indexelement i returvärdet.
Den andra källvektorn, vars element blir element med högre index i returvärdet.
Returer
Ett Vector<SByte> innehållande element som har begränsats från källvektorerna.
- Attribut
Gäller för
Narrow(Vector<Int32>, Vector<Int32>)
Begränsar två Vector<Int32> instanser till en 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> source1, System.Numerics.Vector<int> source2);
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)
Parametrar
Den första källvektorn, vars element blir lägre indexelement i returvärdet.
Den andra källvektorn, vars element blir element med högre index i returvärdet.
Returer
Ett Vector<Int16> innehållande element som har begränsats från källvektorerna.
Gäller för
Narrow(Vector<Int64>, Vector<Int64>)
Begränsar två Vector<Int64> instanser till en 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> source1, System.Numerics.Vector<long> source2);
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)
Parametrar
Den första källvektorn, vars element blir lägre indexelement i returvärdet.
Den andra källvektorn, vars element blir element med högre index i returvärdet.
Returer
Ett Vector<Int32> innehållande element som har begränsats från källvektorerna.
Gäller för
Narrow(Vector<UInt16>, Vector<UInt16>)
Viktigt!
Detta API uppfyller inte CLS.
Begränsar två Vector<UInt16> instanser till en Vector<Byte>.
public:
static System::Numerics::Vector<System::Byte> Narrow(System::Numerics::Vector<System::UInt16> source1, System::Numerics::Vector<System::UInt16> source2);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<byte> Narrow(System.Numerics.Vector<ushort> source1, System.Numerics.Vector<ushort> source2);
[<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)
Parametrar
Den första källvektorn, vars element blir lägre indexelement i returvärdet.
Den andra källvektorn, vars element blir element med högre index i returvärdet.
Returer
Ett Vector<Byte> innehållande element som har begränsats från källvektorerna.
- Attribut
Gäller för
Narrow(Vector<UInt32>, Vector<UInt32>)
Viktigt!
Detta API uppfyller inte CLS.
Begränsar två Vector<UInt32> instanser till en Vector<UInt16>.
public:
static System::Numerics::Vector<System::UInt16> Narrow(System::Numerics::Vector<System::UInt32> source1, System::Numerics::Vector<System::UInt32> source2);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<ushort> Narrow(System.Numerics.Vector<uint> source1, System.Numerics.Vector<uint> source2);
[<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)
Parametrar
Den första källvektorn, vars element blir lägre indexelement i returvärdet.
Den andra källvektorn, vars element blir element med högre index i returvärdet.
Returer
Ett Vector<UInt16> innehållande element som har begränsats från källvektorerna.
- Attribut
Gäller för
Narrow(Vector<UInt64>, Vector<UInt64>)
Viktigt!
Detta API uppfyller inte CLS.
Begränsar två Vector<UInt64> instanser till en Vector<UInt32>.
public:
static System::Numerics::Vector<System::UInt32> Narrow(System::Numerics::Vector<System::UInt64> source1, System::Numerics::Vector<System::UInt64> source2);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<uint> Narrow(System.Numerics.Vector<ulong> source1, System.Numerics.Vector<ulong> source2);
[<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)
Parametrar
Den första källvektorn, vars element blir lägre indexelement i returvärdet.
Den andra källvektorn, vars element blir element med högre index i returvärdet.
Returer
Ett Vector<UInt32> innehållande element som har begränsats från källvektorerna.
- Attribut