Table of Contents

Method Negate

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

Negate(Vector128<float>)

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

Vector128<float> Negate(Vector128<float> vector)

Parameters

vector Vector128<float>

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

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

Vector128<double> Negate(Vector128<double> vector)

Parameters

vector Vector128<double>

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

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

Vector128<sbyte> Negate(Vector128<sbyte> vector)

Parameters

vector Vector128<sbyte>

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

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

Vector128<short> Negate(Vector128<short> vector)

Parameters

vector Vector128<short>

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

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

Vector128<int> Negate(Vector128<int> vector)

Parameters

vector Vector128<int>

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

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

Vector128<long> Negate(Vector128<long> vector)

Parameters

vector Vector128<long>

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

Returns

Vector128<long>

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

See Also