Table of Contents

Method Max

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

Max(Vector512<float>, Vector512<float>)

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

public static Vector512<float> Max(Vector512<float> left, Vector512<float> right)

Parameters

left Vector512<float>

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

right Vector512<float>

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

Returns

Vector512<float>

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

See Also

Max(Vector512<double>, Vector512<double>)

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

public static Vector512<double> Max(Vector512<double> left, Vector512<double> right)

Parameters

left Vector512<double>

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

right Vector512<double>

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

Returns

Vector512<double>

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

See Also

Max(Vector512<sbyte>, Vector512<sbyte>)

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

[CLSCompliant(false)]
public static Vector512<sbyte> Max(Vector512<sbyte> left, Vector512<sbyte> right)

Parameters

left Vector512<sbyte>

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

right Vector512<sbyte>

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

Returns

Vector512<sbyte>

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

See Also

Max(Vector512<byte>, Vector512<byte>)

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

public static Vector512<byte> Max(Vector512<byte> left, Vector512<byte> right)

Parameters

left Vector512<byte>

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

right Vector512<byte>

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

Returns

Vector512<byte>

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

See Also

Max(Vector512<short>, Vector512<short>)

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

public static Vector512<short> Max(Vector512<short> left, Vector512<short> right)

Parameters

left Vector512<short>

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

right Vector512<short>

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

Returns

Vector512<short>

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

See Also

Max(Vector512<ushort>, Vector512<ushort>)

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

[CLSCompliant(false)]
public static Vector512<ushort> Max(Vector512<ushort> left, Vector512<ushort> right)

Parameters

left Vector512<ushort>

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

right Vector512<ushort>

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

Returns

Vector512<ushort>

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

See Also

Max(Vector512<int>, Vector512<int>)

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

public static Vector512<int> Max(Vector512<int> left, Vector512<int> right)

Parameters

left Vector512<int>

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

right Vector512<int>

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

Returns

Vector512<int>

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

See Also

Max(Vector512<uint>, Vector512<uint>)

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

[CLSCompliant(false)]
public static Vector512<uint> Max(Vector512<uint> left, Vector512<uint> right)

Parameters

left Vector512<uint>

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

right Vector512<uint>

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

Returns

Vector512<uint>

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

See Also

Max(Vector512<long>, Vector512<long>)

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

public static Vector512<long> Max(Vector512<long> left, Vector512<long> right)

Parameters

left Vector512<long>

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

right Vector512<long>

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

Returns

Vector512<long>

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

See Also

Max(Vector512<ulong>, Vector512<ulong>)

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

[CLSCompliant(false)]
public static Vector512<ulong> Max(Vector512<ulong> left, Vector512<ulong> right)

Parameters

left Vector512<ulong>

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

right Vector512<ulong>

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

Returns

Vector512<ulong>

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

See Also