Vector.Negate<T>(Vector<T>) Método
Definição
Retorna um novo vetor cujos elementos são a negação do elemento correspondente no vetor especificado.Returns a new vector whose elements are the negation of the corresponding element in the specified vector.
public:
generic <typename T>
where T : value class static System::Numerics::Vector<T> Negate(System::Numerics::Vector<T> value);
public static System.Numerics.Vector<T> Negate<T> (System.Numerics.Vector<T> value) where T : struct;
static member Negate : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)> (requires 'T : struct)
Public Shared Function Negate(Of T As Structure) (value As Vector(Of T)) As Vector(Of T)
Parâmetros de tipo
- T
O tipo de vetor.The vector type. T pode ser qualquer tipo numérico primitivo.T can be any primitive numeric type.
Parâmetros
- value
- Vector<T>
O vetor de origem.The source vector.
Retornos
O vetor negado.The negated vector.