Table of Contents

Method Add

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

Add(Vector256<float>, Vector256<float>)

Adds two vectors to compute their sum (将两个向量相加来计算它们的和). Mnemonic: rt[i] := left[i] + right[i].

Vector256<float> Add(Vector256<float> left, Vector256<float> right)

Parameters

left Vector256<float>

The vector to add with right (将会与right进行相加的向量).

right Vector256<float>

The vector to add with left (将会与left进行相加的向量).

Returns

Vector256<float>

The sum of left and right (leftright的和).

See Also

Add(Vector256<double>, Vector256<double>)

Adds two vectors to compute their sum (将两个向量相加来计算它们的和). Mnemonic: rt[i] := left[i] + right[i].

Vector256<double> Add(Vector256<double> left, Vector256<double> right)

Parameters

left Vector256<double>

The vector to add with right (将会与right进行相加的向量).

right Vector256<double>

The vector to add with left (将会与left进行相加的向量).

Returns

Vector256<double>

The sum of left and right (leftright的和).

See Also

Add(Vector256<sbyte>, Vector256<sbyte>)

Adds two vectors to compute their sum (将两个向量相加来计算它们的和). Mnemonic: rt[i] := left[i] + right[i].

Vector256<sbyte> Add(Vector256<sbyte> left, Vector256<sbyte> right)

Parameters

left Vector256<sbyte>

The vector to add with right (将会与right进行相加的向量).

right Vector256<sbyte>

The vector to add with left (将会与left进行相加的向量).

Returns

Vector256<sbyte>

The sum of left and right (leftright的和).

See Also

Add(Vector256<byte>, Vector256<byte>)

Adds two vectors to compute their sum (将两个向量相加来计算它们的和). Mnemonic: rt[i] := left[i] + right[i].

Vector256<byte> Add(Vector256<byte> left, Vector256<byte> right)

Parameters

left Vector256<byte>

The vector to add with right (将会与right进行相加的向量).

right Vector256<byte>

The vector to add with left (将会与left进行相加的向量).

Returns

Vector256<byte>

The sum of left and right (leftright的和).

See Also

Add(Vector256<short>, Vector256<short>)

Adds two vectors to compute their sum (将两个向量相加来计算它们的和). Mnemonic: rt[i] := left[i] + right[i].

Vector256<short> Add(Vector256<short> left, Vector256<short> right)

Parameters

left Vector256<short>

The vector to add with right (将会与right进行相加的向量).

right Vector256<short>

The vector to add with left (将会与left进行相加的向量).

Returns

Vector256<short>

The sum of left and right (leftright的和).

See Also

Add(Vector256<ushort>, Vector256<ushort>)

Adds two vectors to compute their sum (将两个向量相加来计算它们的和). Mnemonic: rt[i] := left[i] + right[i].

Vector256<ushort> Add(Vector256<ushort> left, Vector256<ushort> right)

Parameters

left Vector256<ushort>

The vector to add with right (将会与right进行相加的向量).

right Vector256<ushort>

The vector to add with left (将会与left进行相加的向量).

Returns

Vector256<ushort>

The sum of left and right (leftright的和).

See Also

Add(Vector256<int>, Vector256<int>)

Adds two vectors to compute their sum (将两个向量相加来计算它们的和). Mnemonic: rt[i] := left[i] + right[i].

Vector256<int> Add(Vector256<int> left, Vector256<int> right)

Parameters

left Vector256<int>

The vector to add with right (将会与right进行相加的向量).

right Vector256<int>

The vector to add with left (将会与left进行相加的向量).

Returns

Vector256<int>

The sum of left and right (leftright的和).

See Also

Add(Vector256<uint>, Vector256<uint>)

Adds two vectors to compute their sum (将两个向量相加来计算它们的和). Mnemonic: rt[i] := left[i] + right[i].

Vector256<uint> Add(Vector256<uint> left, Vector256<uint> right)

Parameters

left Vector256<uint>

The vector to add with right (将会与right进行相加的向量).

right Vector256<uint>

The vector to add with left (将会与left进行相加的向量).

Returns

Vector256<uint>

The sum of left and right (leftright的和).

See Also

Add(Vector256<long>, Vector256<long>)

Adds two vectors to compute their sum (将两个向量相加来计算它们的和). Mnemonic: rt[i] := left[i] + right[i].

Vector256<long> Add(Vector256<long> left, Vector256<long> right)

Parameters

left Vector256<long>

The vector to add with right (将会与right进行相加的向量).

right Vector256<long>

The vector to add with left (将会与left进行相加的向量).

Returns

Vector256<long>

The sum of left and right (leftright的和).

See Also

Add(Vector256<ulong>, Vector256<ulong>)

Adds two vectors to compute their sum (将两个向量相加来计算它们的和). Mnemonic: rt[i] := left[i] + right[i].

Vector256<ulong> Add(Vector256<ulong> left, Vector256<ulong> right)

Parameters

left Vector256<ulong>

The vector to add with right (将会与right进行相加的向量).

right Vector256<ulong>

The vector to add with left (将会与left进行相加的向量).

Returns

Vector256<ulong>

The sum of left and right (leftright的和).

See Also