Table of Contents

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

value Vector256<float>

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

value Vector256<double>

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

value Vector256<sbyte>

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

value Vector256<short>

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

value Vector256<int>

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

value Vector256<long>

Returns

Vector256<long>

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

See Also