Table of Contents

Method Sqrt

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

Sqrt(Vector128<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.

Vector128<float> Sqrt(Vector128<float> vector)

Parameters

vector Vector128<float>

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

Returns

Vector128<float>

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

See Also

Sqrt(Vector128<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.

Vector128<double> Sqrt(Vector128<double> vector)

Parameters

vector Vector128<double>

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

Returns

Vector128<double>

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

See Also

Sqrt(Vector128<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.

Vector128<sbyte> Sqrt(Vector128<sbyte> vector)

Parameters

vector Vector128<sbyte>

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

Returns

Vector128<sbyte>

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

See Also

Sqrt(Vector128<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.

Vector128<byte> Sqrt(Vector128<byte> vector)

Parameters

vector Vector128<byte>

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

Returns

Vector128<byte>

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

See Also

Sqrt(Vector128<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.

Vector128<short> Sqrt(Vector128<short> vector)

Parameters

vector Vector128<short>

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

Returns

Vector128<short>

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

See Also

Sqrt(Vector128<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.

Vector128<ushort> Sqrt(Vector128<ushort> vector)

Parameters

vector Vector128<ushort>

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

Returns

Vector128<ushort>

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

See Also

Sqrt(Vector128<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.

Vector128<int> Sqrt(Vector128<int> vector)

Parameters

vector Vector128<int>

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

Returns

Vector128<int>

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

See Also

Sqrt(Vector128<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.

Vector128<uint> Sqrt(Vector128<uint> vector)

Parameters

vector Vector128<uint>

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

Returns

Vector128<uint>

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

See Also

Sqrt(Vector128<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.

Vector128<long> Sqrt(Vector128<long> vector)

Parameters

vector Vector128<long>

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

Returns

Vector128<long>

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

See Also

Sqrt(Vector128<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.

Vector128<ulong> Sqrt(Vector128<ulong> vector)

Parameters

vector Vector128<ulong>

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

Returns

Vector128<ulong>

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

See Also