Table of Contents

Method Multiply

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

Multiply(Vector128<float>, Vector128<float>)

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

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

Parameters

left Vector128<float>

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

right Vector128<float>

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

Returns

Vector128<float>

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

See Also

Multiply(Vector128<double>, Vector128<double>)

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

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

Parameters

left Vector128<double>

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

right Vector128<double>

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

Returns

Vector128<double>

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

See Also

Multiply(Vector128<sbyte>, Vector128<sbyte>)

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

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

Parameters

left Vector128<sbyte>

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

right Vector128<sbyte>

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

Returns

Vector128<sbyte>

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

See Also

Multiply(Vector128<byte>, Vector128<byte>)

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

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

Parameters

left Vector128<byte>

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

right Vector128<byte>

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

Returns

Vector128<byte>

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

See Also

Multiply(Vector128<short>, Vector128<short>)

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

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

Parameters

left Vector128<short>

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

right Vector128<short>

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

Returns

Vector128<short>

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

See Also

Multiply(Vector128<ushort>, Vector128<ushort>)

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

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

Parameters

left Vector128<ushort>

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

right Vector128<ushort>

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

Returns

Vector128<ushort>

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

See Also

Multiply(Vector128<int>, Vector128<int>)

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

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

Parameters

left Vector128<int>

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

right Vector128<int>

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

Returns

Vector128<int>

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

See Also

Multiply(Vector128<uint>, Vector128<uint>)

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

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

Parameters

left Vector128<uint>

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

right Vector128<uint>

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

Returns

Vector128<uint>

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

See Also

Multiply(Vector128<long>, Vector128<long>)

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

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

Parameters

left Vector128<long>

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

right Vector128<long>

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

Returns

Vector128<long>

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

See Also

Multiply(Vector128<ulong>, Vector128<ulong>)

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

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

Parameters

left Vector128<ulong>

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

right Vector128<ulong>

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

Returns

Vector128<ulong>

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

See Also