Table of Contents

Method Subtract

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

Subtract(Vector256<float>, Vector256<float>)

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

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

Parameters

left Vector256<float>

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

right Vector256<float>

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

Returns

Vector256<float>

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

See Also

Subtract(Vector256<double>, Vector256<double>)

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

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

Parameters

left Vector256<double>

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

right Vector256<double>

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

Returns

Vector256<double>

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

See Also

Subtract(Vector256<sbyte>, Vector256<sbyte>)

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

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

Parameters

left Vector256<sbyte>

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

right Vector256<sbyte>

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

Returns

Vector256<sbyte>

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

See Also

Subtract(Vector256<byte>, Vector256<byte>)

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

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

Parameters

left Vector256<byte>

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

right Vector256<byte>

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

Returns

Vector256<byte>

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

See Also

Subtract(Vector256<short>, Vector256<short>)

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

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

Parameters

left Vector256<short>

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

right Vector256<short>

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

Returns

Vector256<short>

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

See Also

Subtract(Vector256<ushort>, Vector256<ushort>)

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

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

Parameters

left Vector256<ushort>

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

right Vector256<ushort>

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

Returns

Vector256<ushort>

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

See Also

Subtract(Vector256<int>, Vector256<int>)

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

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

Parameters

left Vector256<int>

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

right Vector256<int>

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

Returns

Vector256<int>

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

See Also

Subtract(Vector256<uint>, Vector256<uint>)

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

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

Parameters

left Vector256<uint>

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

right Vector256<uint>

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

Returns

Vector256<uint>

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

See Also

Subtract(Vector256<long>, Vector256<long>)

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

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

Parameters

left Vector256<long>

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

right Vector256<long>

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

Returns

Vector256<long>

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

See Also

Subtract(Vector256<ulong>, Vector256<ulong>)

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

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

Parameters

left Vector256<ulong>

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

right Vector256<ulong>

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

Returns

Vector256<ulong>

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

See Also