Table of Contents

Method Subtract

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

Subtract(Vector512<float>, Vector512<float>)

Subtracts two vectors to compute their difference (将两个向量相减来计算它们的差). Mnemonic: rt[i] := left[i] - right[i].

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

Parameters

left Vector512<float>

The vector from which right will be subtracted (将被减去right的向量).

right Vector512<float>

The vector to subtract from left (要从left减去的向量).

Returns

Vector512<float>

The difference of left and right (leftright的差).

See Also

Subtract(Vector512<double>, Vector512<double>)

Subtracts two vectors to compute their difference (将两个向量相减来计算它们的差). Mnemonic: rt[i] := left[i] - right[i].

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

Parameters

left Vector512<double>

The vector from which right will be subtracted (将被减去right的向量).

right Vector512<double>

The vector to subtract from left (要从left减去的向量).

Returns

Vector512<double>

The difference of left and right (leftright的差).

See Also

Subtract(Vector512<sbyte>, Vector512<sbyte>)

Subtracts two vectors to compute their difference (将两个向量相减来计算它们的差). Mnemonic: rt[i] := left[i] - right[i].

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

Parameters

left Vector512<sbyte>

The vector from which right will be subtracted (将被减去right的向量).

right Vector512<sbyte>

The vector to subtract from left (要从left减去的向量).

Returns

Vector512<sbyte>

The difference of left and right (leftright的差).

See Also

Subtract(Vector512<byte>, Vector512<byte>)

Subtracts two vectors to compute their difference (将两个向量相减来计算它们的差). Mnemonic: rt[i] := left[i] - right[i].

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

Parameters

left Vector512<byte>

The vector from which right will be subtracted (将被减去right的向量).

right Vector512<byte>

The vector to subtract from left (要从left减去的向量).

Returns

Vector512<byte>

The difference of left and right (leftright的差).

See Also

Subtract(Vector512<short>, Vector512<short>)

Subtracts two vectors to compute their difference (将两个向量相减来计算它们的差). Mnemonic: rt[i] := left[i] - right[i].

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

Parameters

left Vector512<short>

The vector from which right will be subtracted (将被减去right的向量).

right Vector512<short>

The vector to subtract from left (要从left减去的向量).

Returns

Vector512<short>

The difference of left and right (leftright的差).

See Also

Subtract(Vector512<ushort>, Vector512<ushort>)

Subtracts two vectors to compute their difference (将两个向量相减来计算它们的差). Mnemonic: rt[i] := left[i] - right[i].

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

Parameters

left Vector512<ushort>

The vector from which right will be subtracted (将被减去right的向量).

right Vector512<ushort>

The vector to subtract from left (要从left减去的向量).

Returns

Vector512<ushort>

The difference of left and right (leftright的差).

See Also

Subtract(Vector512<int>, Vector512<int>)

Subtracts two vectors to compute their difference (将两个向量相减来计算它们的差). Mnemonic: rt[i] := left[i] - right[i].

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

Parameters

left Vector512<int>

The vector from which right will be subtracted (将被减去right的向量).

right Vector512<int>

The vector to subtract from left (要从left减去的向量).

Returns

Vector512<int>

The difference of left and right (leftright的差).

See Also

Subtract(Vector512<uint>, Vector512<uint>)

Subtracts two vectors to compute their difference (将两个向量相减来计算它们的差). Mnemonic: rt[i] := left[i] - right[i].

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

Parameters

left Vector512<uint>

The vector from which right will be subtracted (将被减去right的向量).

right Vector512<uint>

The vector to subtract from left (要从left减去的向量).

Returns

Vector512<uint>

The difference of left and right (leftright的差).

See Also

Subtract(Vector512<long>, Vector512<long>)

Subtracts two vectors to compute their difference (将两个向量相减来计算它们的差). Mnemonic: rt[i] := left[i] - right[i].

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

Parameters

left Vector512<long>

The vector from which right will be subtracted (将被减去right的向量).

right Vector512<long>

The vector to subtract from left (要从left减去的向量).

Returns

Vector512<long>

The difference of left and right (leftright的差).

See Also

Subtract(Vector512<ulong>, Vector512<ulong>)

Subtracts two vectors to compute their difference (将两个向量相减来计算它们的差). Mnemonic: rt[i] := left[i] - right[i].

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

Parameters

left Vector512<ulong>

The vector from which right will be subtracted (将被减去right的向量).

right Vector512<ulong>

The vector to subtract from left (要从left减去的向量).

Returns

Vector512<ulong>

The difference of left and right (leftright的差).

See Also