Vector128.Negate<T>(Vector128<T>) 方法

定义

否定向量。

public:
generic <typename T>
 where T : value class static System::Runtime::Intrinsics::Vector128<T> Negate(System::Runtime::Intrinsics::Vector128<T> vector);
public static System.Runtime.Intrinsics.Vector128<T> Negate<T> (System.Runtime.Intrinsics.Vector128<T> vector) where T : struct;
static member Negate : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
Public Function Negate(Of T As Structure) (vector As Vector128(Of T)) As Vector128(Of T)

类型参数

T

矢量中的元素的类型。

参数

vector
Vector128<T>

要求反的向量。

返回

Vector128<T>

一个矢量,其元素是相应元素的 vector否定。

适用于