Table of Contents

Method Sqrt_Float

Namespace
Zyl.VectorTraits.Impl.AVector
Assembly
VectorTraits.dll

Sqrt_Float(Vector<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.

[CLSCompliant(false)]
public static Vector<sbyte> Sqrt_Float(Vector<sbyte> value)

Parameters

value Vector<sbyte>

Returns

Vector<sbyte>

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

See Also

Sqrt_Float(Vector<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.

public static Vector<byte> Sqrt_Float(Vector<byte> value)

Parameters

value Vector<byte>

Returns

Vector<byte>

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

See Also

Sqrt_Float(Vector<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.

public static Vector<short> Sqrt_Float(Vector<short> value)

Parameters

value Vector<short>

Returns

Vector<short>

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

See Also

Sqrt_Float(Vector<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.

[CLSCompliant(false)]
public static Vector<ushort> Sqrt_Float(Vector<ushort> value)

Parameters

value Vector<ushort>

Returns

Vector<ushort>

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

See Also

Sqrt_Float(Vector<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.

public static Vector<int> Sqrt_Float(Vector<int> value)

Parameters

value Vector<int>

Returns

Vector<int>

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

See Also

Sqrt_Float(Vector<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.

[CLSCompliant(false)]
public static Vector<uint> Sqrt_Float(Vector<uint> value)

Parameters

value Vector<uint>

Returns

Vector<uint>

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

See Also

Sqrt_Float(Vector<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.

public static Vector<long> Sqrt_Float(Vector<long> value)

Parameters

value Vector<long>

Returns

Vector<long>

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

See Also

Sqrt_Float(Vector<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.

[CLSCompliant(false)]
public static Vector<ulong> Sqrt_Float(Vector<ulong> value)

Parameters

value Vector<ulong>

Returns

Vector<ulong>

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

See Also