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