Table of Contents

Method Multiply

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

Multiply(Vector256<float>, Vector256<float>)

Multiplies two vectors to compute their element-wise product (将两个向量相乘来计算它们各元素的积). Mnemonic: rt[i] := left[i] * right[i].

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

Parameters

left Vector256<float>

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

right Vector256<float>

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

Returns

Vector256<float>

The element-wise product of left and right (leftright的各元素乘积).

See Also

Multiply(Vector256<double>, Vector256<double>)

Multiplies two vectors to compute their element-wise product (将两个向量相乘来计算它们各元素的积). Mnemonic: rt[i] := left[i] * right[i].

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

Parameters

left Vector256<double>

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

right Vector256<double>

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

Returns

Vector256<double>

The element-wise product of left and right (leftright的各元素乘积).

See Also

Multiply(Vector256<sbyte>, Vector256<sbyte>)

Multiplies two vectors to compute their element-wise product (将两个向量相乘来计算它们各元素的积). Mnemonic: rt[i] := left[i] * right[i].

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

Parameters

left Vector256<sbyte>

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

right Vector256<sbyte>

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

Returns

Vector256<sbyte>

The element-wise product of left and right (leftright的各元素乘积).

See Also

Multiply(Vector256<byte>, Vector256<byte>)

Multiplies two vectors to compute their element-wise product (将两个向量相乘来计算它们各元素的积). Mnemonic: rt[i] := left[i] * right[i].

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

Parameters

left Vector256<byte>

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

right Vector256<byte>

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

Returns

Vector256<byte>

The element-wise product of left and right (leftright的各元素乘积).

See Also

Multiply(Vector256<short>, Vector256<short>)

Multiplies two vectors to compute their element-wise product (将两个向量相乘来计算它们各元素的积). Mnemonic: rt[i] := left[i] * right[i].

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

Parameters

left Vector256<short>

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

right Vector256<short>

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

Returns

Vector256<short>

The element-wise product of left and right (leftright的各元素乘积).

See Also

Multiply(Vector256<ushort>, Vector256<ushort>)

Multiplies two vectors to compute their element-wise product (将两个向量相乘来计算它们各元素的积). Mnemonic: rt[i] := left[i] * right[i].

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

Parameters

left Vector256<ushort>

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

right Vector256<ushort>

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

Returns

Vector256<ushort>

The element-wise product of left and right (leftright的各元素乘积).

See Also

Multiply(Vector256<int>, Vector256<int>)

Multiplies two vectors to compute their element-wise product (将两个向量相乘来计算它们各元素的积). Mnemonic: rt[i] := left[i] * right[i].

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

Parameters

left Vector256<int>

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

right Vector256<int>

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

Returns

Vector256<int>

The element-wise product of left and right (leftright的各元素乘积).

See Also

Multiply(Vector256<uint>, Vector256<uint>)

Multiplies two vectors to compute their element-wise product (将两个向量相乘来计算它们各元素的积). Mnemonic: rt[i] := left[i] * right[i].

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

Parameters

left Vector256<uint>

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

right Vector256<uint>

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

Returns

Vector256<uint>

The element-wise product of left and right (leftright的各元素乘积).

See Also

Multiply(Vector256<long>, Vector256<long>)

Multiplies two vectors to compute their element-wise product (将两个向量相乘来计算它们各元素的积). Mnemonic: rt[i] := left[i] * right[i].

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

Parameters

left Vector256<long>

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

right Vector256<long>

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

Returns

Vector256<long>

The element-wise product of left and right (leftright的各元素乘积).

See Also

Multiply(Vector256<ulong>, Vector256<ulong>)

Multiplies two vectors to compute their element-wise product (将两个向量相乘来计算它们各元素的积). Mnemonic: rt[i] := left[i] * right[i].

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

Parameters

left Vector256<ulong>

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

right Vector256<ulong>

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

Returns

Vector256<ulong>

The element-wise product of left and right (leftright的各元素乘积).

See Also