Bagikan melalui


Vector.AsVectorSingle<T>(Vector<T>) Metode

Definisi

Menginterpretasikan kembali bit vektor tertentu ke dalam vektor floating-point presisi tunggal.

public:
generic <typename T>
 where T : value class static System::Numerics::Vector<float> AsVectorSingle(System::Numerics::Vector<T> value);
public:
generic <typename T>
 static System::Numerics::Vector<float> AsVectorSingle(System::Numerics::Vector<T> value);
public static System.Numerics.Vector<float> AsVectorSingle<T> (System.Numerics.Vector<T> value) where T : struct;
public static System.Numerics.Vector<float> AsVectorSingle<T> (System.Numerics.Vector<T> value);
static member AsVectorSingle : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<single> (requires 'T : struct)
static member AsVectorSingle : System.Numerics.Vector<'T> -> System.Numerics.Vector<single>
Public Shared Function AsVectorSingle(Of T As Structure) (value As Vector(Of T)) As Vector(Of Single)
Public Function AsVectorSingle(Of T As Structure) (value As Vector(Of T)) As Vector(Of Single)
Public Function AsVectorSingle(Of T) (value As Vector(Of T)) As Vector(Of Single)

Jenis parameter

T

Jenis vektor. T dapat berupa jenis numerik primitif apa pun.

Parameter

value
Vector<T>

Vektor sumber.

Mengembalikan

Vektor yang diinterpreasi kembali.

Pengecualian

Tipe value (T) tidak didukung.

Berlaku untuk