Table of Contents

Method Min

Namespace
Zyl.VectorTraits.Impl.AVector128
Assembly
VectorTraits.dll

Min(Vector128<double>, Vector128<double>)

Computes the minimum of two vectors on a per-element basis (在每个元素的基础上计算两个向量的最小值). Mnemonic: rt[i] := min(left[i], right[i]).

public override Vector128<double> Min(Vector128<double> left, Vector128<double> right)

Parameters

left Vector128<double>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<double>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector128<double>

A vector whose elements are the minimum of the corresponding elements in left and right (一个向量,其元素是leftright的相应元素的最小值).

See Also

Min(Vector128<long>, Vector128<long>)

Computes the minimum of two vectors on a per-element basis (在每个元素的基础上计算两个向量的最小值). Mnemonic: rt[i] := min(left[i], right[i]).

public override Vector128<long> Min(Vector128<long> left, Vector128<long> right)

Parameters

left Vector128<long>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<long>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector128<long>

A vector whose elements are the minimum of the corresponding elements in left and right (一个向量,其元素是leftright的相应元素的最小值).

See Also

Min(Vector128<ulong>, Vector128<ulong>)

Computes the minimum of two vectors on a per-element basis (在每个元素的基础上计算两个向量的最小值). Mnemonic: rt[i] := min(left[i], right[i]).

[CLSCompliant(false)]
public override Vector128<ulong> Min(Vector128<ulong> left, Vector128<ulong> right)

Parameters

left Vector128<ulong>

The vector to compare with right (将会与right进行比较的向量).

right Vector128<ulong>

The vector to compare with left (将会与left进行比较的向量).

Returns

Vector128<ulong>

A vector whose elements are the minimum of the corresponding elements in left and right (一个向量,其元素是leftright的相应元素的最小值).

See Also