Table of Contents

Method Negate

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

Negate(Vector512<float>)

Computes the negate of a vector (计算向量的相反数). Mnemonic: rt[i] := -vector[i].

public static Vector512<float> Negate(Vector512<float> value)

Parameters

value Vector512<float>

Returns

Vector512<float>

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

See Also

Negate(Vector512<double>)

Computes the negate of a vector (计算向量的相反数). Mnemonic: rt[i] := -vector[i].

public static Vector512<double> Negate(Vector512<double> value)

Parameters

value Vector512<double>

Returns

Vector512<double>

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

See Also

Negate(Vector512<sbyte>)

Computes the negate of a vector (计算向量的相反数). Mnemonic: rt[i] := -vector[i].

[CLSCompliant(false)]
public static Vector512<sbyte> Negate(Vector512<sbyte> value)

Parameters

value Vector512<sbyte>

Returns

Vector512<sbyte>

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

See Also

Negate(Vector512<short>)

Computes the negate of a vector (计算向量的相反数). Mnemonic: rt[i] := -vector[i].

public static Vector512<short> Negate(Vector512<short> value)

Parameters

value Vector512<short>

Returns

Vector512<short>

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

See Also

Negate(Vector512<int>)

Computes the negate of a vector (计算向量的相反数). Mnemonic: rt[i] := -vector[i].

public static Vector512<int> Negate(Vector512<int> value)

Parameters

value Vector512<int>

Returns

Vector512<int>

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

See Also

Negate(Vector512<long>)

Computes the negate of a vector (计算向量的相反数). Mnemonic: rt[i] := -vector[i].

public static Vector512<long> Negate(Vector512<long> value)

Parameters

value Vector512<long>

Returns

Vector512<long>

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

See Also