Vector.AsVectorSingle<T>(Vector<T>) Método

Definição

Reinterpreta os bits de um vetor especificado nos de um vetor de ponto flutuante de precisão única.

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

Parâmetros de tipo

T

O tipo de vetor. T pode ser qualquer tipo numérico primitivo.

Parâmetros

value
Vector<T>

O vetor de origem.

Retornos

O vetor reinterpretado.

Exceções

O tipo de value (T) não tem suporte.

Aplica-se a