Table of Contents

Method Add

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

Add(Vector512<float>, Vector512<float>)

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

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

Parameters

left Vector512<float>

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

right Vector512<float>

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

Returns

Vector512<float>

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

See Also

Add(Vector512<double>, Vector512<double>)

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

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

Parameters

left Vector512<double>

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

right Vector512<double>

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

Returns

Vector512<double>

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

See Also

Add(Vector512<sbyte>, Vector512<sbyte>)

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

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

Parameters

left Vector512<sbyte>

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

right Vector512<sbyte>

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

Returns

Vector512<sbyte>

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

See Also

Add(Vector512<byte>, Vector512<byte>)

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

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

Parameters

left Vector512<byte>

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

right Vector512<byte>

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

Returns

Vector512<byte>

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

See Also

Add(Vector512<short>, Vector512<short>)

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

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

Parameters

left Vector512<short>

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

right Vector512<short>

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

Returns

Vector512<short>

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

See Also

Add(Vector512<ushort>, Vector512<ushort>)

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

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

Parameters

left Vector512<ushort>

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

right Vector512<ushort>

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

Returns

Vector512<ushort>

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

See Also

Add(Vector512<int>, Vector512<int>)

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

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

Parameters

left Vector512<int>

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

right Vector512<int>

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

Returns

Vector512<int>

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

See Also

Add(Vector512<uint>, Vector512<uint>)

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

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

Parameters

left Vector512<uint>

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

right Vector512<uint>

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

Returns

Vector512<uint>

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

See Also

Add(Vector512<long>, Vector512<long>)

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

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

Parameters

left Vector512<long>

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

right Vector512<long>

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

Returns

Vector512<long>

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

See Also

Add(Vector512<ulong>, Vector512<ulong>)

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

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

Parameters

left Vector512<ulong>

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

right Vector512<ulong>

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

Returns

Vector512<ulong>

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

See Also