Table of Contents

Method Negate

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

Negate(Vector256<float>)

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

Vector256<float> Negate(Vector256<float> vector)

Parameters

vector Vector256<float>

The vector to negate (将计算相反数的向量).

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].

Vector256<double> Negate(Vector256<double> vector)

Parameters

vector Vector256<double>

The vector to negate (将计算相反数的向量).

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].

Vector256<sbyte> Negate(Vector256<sbyte> vector)

Parameters

vector Vector256<sbyte>

The vector to negate (将计算相反数的向量).

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].

Vector256<short> Negate(Vector256<short> vector)

Parameters

vector Vector256<short>

The vector to negate (将计算相反数的向量).

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].

Vector256<int> Negate(Vector256<int> vector)

Parameters

vector Vector256<int>

The vector to negate (将计算相反数的向量).

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].

Vector256<long> Negate(Vector256<long> vector)

Parameters

vector Vector256<long>

The vector to negate (将计算相反数的向量).

Returns

Vector256<long>

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

See Also