Table of Contents

Method Sqrt

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

Sqrt(Vector256<float>)

Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根). Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.

Vector256<float> Sqrt(Vector256<float> vector)

Parameters

vector Vector256<float>

The vector whose square root is to be computed (将被计算其平方根的向量).

Returns

Vector256<float>

A vector whose elements are the square root of the corresponding elements in vector (一个向量,其元素是 vector 中对应元素的平方根).

See Also

Sqrt(Vector256<double>)

Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根). Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.

Vector256<double> Sqrt(Vector256<double> vector)

Parameters

vector Vector256<double>

The vector whose square root is to be computed (将被计算其平方根的向量).

Returns

Vector256<double>

A vector whose elements are the square root of the corresponding elements in vector (一个向量,其元素是 vector 中对应元素的平方根).

See Also

Sqrt(Vector256<sbyte>)

Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根). Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.

Vector256<sbyte> Sqrt(Vector256<sbyte> vector)

Parameters

vector Vector256<sbyte>

The vector whose square root is to be computed (将被计算其平方根的向量).

Returns

Vector256<sbyte>

A vector whose elements are the square root of the corresponding elements in vector (一个向量,其元素是 vector 中对应元素的平方根).

See Also

Sqrt(Vector256<byte>)

Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根). Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.

Vector256<byte> Sqrt(Vector256<byte> vector)

Parameters

vector Vector256<byte>

The vector whose square root is to be computed (将被计算其平方根的向量).

Returns

Vector256<byte>

A vector whose elements are the square root of the corresponding elements in vector (一个向量,其元素是 vector 中对应元素的平方根).

See Also

Sqrt(Vector256<short>)

Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根). Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.

Vector256<short> Sqrt(Vector256<short> vector)

Parameters

vector Vector256<short>

The vector whose square root is to be computed (将被计算其平方根的向量).

Returns

Vector256<short>

A vector whose elements are the square root of the corresponding elements in vector (一个向量,其元素是 vector 中对应元素的平方根).

See Also

Sqrt(Vector256<ushort>)

Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根). Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.

Vector256<ushort> Sqrt(Vector256<ushort> vector)

Parameters

vector Vector256<ushort>

The vector whose square root is to be computed (将被计算其平方根的向量).

Returns

Vector256<ushort>

A vector whose elements are the square root of the corresponding elements in vector (一个向量,其元素是 vector 中对应元素的平方根).

See Also

Sqrt(Vector256<int>)

Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根). Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.

Vector256<int> Sqrt(Vector256<int> vector)

Parameters

vector Vector256<int>

The vector whose square root is to be computed (将被计算其平方根的向量).

Returns

Vector256<int>

A vector whose elements are the square root of the corresponding elements in vector (一个向量,其元素是 vector 中对应元素的平方根).

See Also

Sqrt(Vector256<uint>)

Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根). Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.

Vector256<uint> Sqrt(Vector256<uint> vector)

Parameters

vector Vector256<uint>

The vector whose square root is to be computed (将被计算其平方根的向量).

Returns

Vector256<uint>

A vector whose elements are the square root of the corresponding elements in vector (一个向量,其元素是 vector 中对应元素的平方根).

See Also

Sqrt(Vector256<long>)

Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根). Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.

Vector256<long> Sqrt(Vector256<long> vector)

Parameters

vector Vector256<long>

The vector whose square root is to be computed (将被计算其平方根的向量).

Returns

Vector256<long>

A vector whose elements are the square root of the corresponding elements in vector (一个向量,其元素是 vector 中对应元素的平方根).

See Also

Sqrt(Vector256<ulong>)

Computes the square root of a vector on a per-element basis (计算向量中每个元素的平方根). Mnemonic: rt[i] := sqrt(vector[i]) = pow(vector[i], 1.0/2). When x is less than 0, floating-point types return NaN, integer types return 0.

Vector256<ulong> Sqrt(Vector256<ulong> vector)

Parameters

vector Vector256<ulong>

The vector whose square root is to be computed (将被计算其平方根的向量).

Returns

Vector256<ulong>

A vector whose elements are the square root of the corresponding elements in vector (一个向量,其元素是 vector 中对应元素的平方根).

See Also