Table of Contents

Method Negate

Namespace
Zyl.VectorTraits
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

value Vector128<float>

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

value Vector128<double>

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

value Vector128<sbyte>

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

value Vector128<short>

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

value Vector128<int>

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

value Vector128<long>

Returns

Vector128<long>

A vector whose elements are the negate of the elements in vector (一个向量,其元素是 vector 中各元素的相反数).

See Also