Table of Contents

Method Abs

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

Abs(Vector512<float>)

Computes the absolute value of each element in a vector (计算向量中每个元素的绝对值). Mnemonic: rt[i] := abs(vector[i]).

Vector512<float> Abs(Vector512<float> vector)

Parameters

vector Vector512<float>

The vector that will have its absolute value computed (将被计算其绝对值的向量).

Returns

Vector512<float>

A vector whose elements are the absolute value of the elements in vector (一个向量,其元素是 vector 中各元素的绝对值).

See Also
Abs<T>(Vector512<T>)

Abs(Vector512<double>)

Computes the absolute value of each element in a vector (计算向量中每个元素的绝对值). Mnemonic: rt[i] := abs(vector[i]).

Vector512<double> Abs(Vector512<double> vector)

Parameters

vector Vector512<double>

The vector that will have its absolute value computed (将被计算其绝对值的向量).

Returns

Vector512<double>

A vector whose elements are the absolute value of the elements in vector (一个向量,其元素是 vector 中各元素的绝对值).

See Also
Abs<T>(Vector512<T>)

Abs(Vector512<sbyte>)

Computes the absolute value of each element in a vector (计算向量中每个元素的绝对值). Mnemonic: rt[i] := abs(vector[i]).

Vector512<sbyte> Abs(Vector512<sbyte> vector)

Parameters

vector Vector512<sbyte>

The vector that will have its absolute value computed (将被计算其绝对值的向量).

Returns

Vector512<sbyte>

A vector whose elements are the absolute value of the elements in vector (一个向量,其元素是 vector 中各元素的绝对值).

See Also
Abs<T>(Vector512<T>)

Abs(Vector512<short>)

Computes the absolute value of each element in a vector (计算向量中每个元素的绝对值). Mnemonic: rt[i] := abs(vector[i]).

Vector512<short> Abs(Vector512<short> vector)

Parameters

vector Vector512<short>

The vector that will have its absolute value computed (将被计算其绝对值的向量).

Returns

Vector512<short>

A vector whose elements are the absolute value of the elements in vector (一个向量,其元素是 vector 中各元素的绝对值).

See Also
Abs<T>(Vector512<T>)

Abs(Vector512<int>)

Computes the absolute value of each element in a vector (计算向量中每个元素的绝对值). Mnemonic: rt[i] := abs(vector[i]).

Vector512<int> Abs(Vector512<int> vector)

Parameters

vector Vector512<int>

The vector that will have its absolute value computed (将被计算其绝对值的向量).

Returns

Vector512<int>

A vector whose elements are the absolute value of the elements in vector (一个向量,其元素是 vector 中各元素的绝对值).

See Also
Abs<T>(Vector512<T>)

Abs(Vector512<long>)

Computes the absolute value of each element in a vector (计算向量中每个元素的绝对值). Mnemonic: rt[i] := abs(vector[i]).

Vector512<long> Abs(Vector512<long> vector)

Parameters

vector Vector512<long>

The vector that will have its absolute value computed (将被计算其绝对值的向量).

Returns

Vector512<long>

A vector whose elements are the absolute value of the elements in vector (一个向量,其元素是 vector 中各元素的绝对值).

See Also
Abs<T>(Vector512<T>)