Method Negate
- Namespace
 - Zyl.VectorTraits.Impl.AVector128
 
- Assembly
 - VectorTraits.dll
 
Negate(Vector128<float>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i].
public static Vector128<float> Negate(Vector128<float> value)
Parameters
Returns
- Vector128<float>
 A vector whose elements are the negate of the elements in
vector(一个向量,其元素是vector中各元素的相反数).
- See Also
 
Negate(Vector128<double>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i].
public static Vector128<double> Negate(Vector128<double> value)
Parameters
Returns
- Vector128<double>
 A vector whose elements are the negate of the elements in
vector(一个向量,其元素是vector中各元素的相反数).
- See Also
 
Negate(Vector128<sbyte>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i].
[CLSCompliant(false)]
public static Vector128<sbyte> Negate(Vector128<sbyte> value)
Parameters
Returns
- Vector128<sbyte>
 A vector whose elements are the negate of the elements in
vector(一个向量,其元素是vector中各元素的相反数).
- See Also
 
Negate(Vector128<short>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i].
public static Vector128<short> Negate(Vector128<short> value)
Parameters
Returns
- Vector128<short>
 A vector whose elements are the negate of the elements in
vector(一个向量,其元素是vector中各元素的相反数).
- See Also
 
Negate(Vector128<int>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i].
public static Vector128<int> Negate(Vector128<int> value)
Parameters
Returns
- Vector128<int>
 A vector whose elements are the negate of the elements in
vector(一个向量,其元素是vector中各元素的相反数).
- See Also
 
Negate(Vector128<long>)
Computes the negate of a vector (计算向量的相反数).
Mnemonic: rt[i] := -vector[i].
public static Vector128<long> Negate(Vector128<long> value)
Parameters
Returns
- Vector128<long>
 A vector whose elements are the negate of the elements in
vector(一个向量,其元素是vector中各元素的相反数).
- See Also