Method Dot
- Namespace
- Zyl.VectorTraits.Impl.AVector256
- Assembly
- VectorTraits.dll
Dot(Vector256<float>, Vector256<float>)
Computes the dot product of two vectors (计算两个向量的点积).
Mnemonic: rt := left[0]*right[0] + left[1]*right[1] + left[2]*right[2] + ... + left[Count-1]*right[Count-1].
public override float Dot(Vector256<float> left, Vector256<float> right)
Parameters
leftVector256<float>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector256<float>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- float
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector256<double>, Vector256<double>)
Computes the dot product of two vectors (计算两个向量的点积).
Mnemonic: rt := left[0]*right[0] + left[1]*right[1] + left[2]*right[2] + ... + left[Count-1]*right[Count-1].
public override double Dot(Vector256<double> left, Vector256<double> right)
Parameters
leftVector256<double>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector256<double>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- double
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector256<sbyte>, Vector256<sbyte>)
Computes the dot product of two vectors (计算两个向量的点积).
Mnemonic: rt := left[0]*right[0] + left[1]*right[1] + left[2]*right[2] + ... + left[Count-1]*right[Count-1].
[CLSCompliant(false)]
public override sbyte Dot(Vector256<sbyte> left, Vector256<sbyte> right)
Parameters
leftVector256<sbyte>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector256<sbyte>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- sbyte
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector256<byte>, Vector256<byte>)
Computes the dot product of two vectors (计算两个向量的点积).
Mnemonic: rt := left[0]*right[0] + left[1]*right[1] + left[2]*right[2] + ... + left[Count-1]*right[Count-1].
public override byte Dot(Vector256<byte> left, Vector256<byte> right)
Parameters
leftVector256<byte>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector256<byte>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- byte
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector256<short>, Vector256<short>)
Computes the dot product of two vectors (计算两个向量的点积).
Mnemonic: rt := left[0]*right[0] + left[1]*right[1] + left[2]*right[2] + ... + left[Count-1]*right[Count-1].
public override short Dot(Vector256<short> left, Vector256<short> right)
Parameters
leftVector256<short>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector256<short>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- short
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector256<ushort>, Vector256<ushort>)
Computes the dot product of two vectors (计算两个向量的点积).
Mnemonic: rt := left[0]*right[0] + left[1]*right[1] + left[2]*right[2] + ... + left[Count-1]*right[Count-1].
[CLSCompliant(false)]
public override ushort Dot(Vector256<ushort> left, Vector256<ushort> right)
Parameters
leftVector256<ushort>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector256<ushort>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- ushort
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector256<int>, Vector256<int>)
Computes the dot product of two vectors (计算两个向量的点积).
Mnemonic: rt := left[0]*right[0] + left[1]*right[1] + left[2]*right[2] + ... + left[Count-1]*right[Count-1].
public override int Dot(Vector256<int> left, Vector256<int> right)
Parameters
leftVector256<int>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector256<int>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- int
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector256<uint>, Vector256<uint>)
Computes the dot product of two vectors (计算两个向量的点积).
Mnemonic: rt := left[0]*right[0] + left[1]*right[1] + left[2]*right[2] + ... + left[Count-1]*right[Count-1].
[CLSCompliant(false)]
public override uint Dot(Vector256<uint> left, Vector256<uint> right)
Parameters
leftVector256<uint>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector256<uint>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- uint
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector256<long>, Vector256<long>)
Computes the dot product of two vectors (计算两个向量的点积).
Mnemonic: rt := left[0]*right[0] + left[1]*right[1] + left[2]*right[2] + ... + left[Count-1]*right[Count-1].
public override long Dot(Vector256<long> left, Vector256<long> right)
Parameters
leftVector256<long>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector256<long>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- long
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector256<ulong>, Vector256<ulong>)
Computes the dot product of two vectors (计算两个向量的点积).
Mnemonic: rt := left[0]*right[0] + left[1]*right[1] + left[2]*right[2] + ... + left[Count-1]*right[Count-1].
[CLSCompliant(false)]
public override ulong Dot(Vector256<ulong> left, Vector256<ulong> right)
Parameters
leftVector256<ulong>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector256<ulong>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- ulong
The dot product of
leftandright(left与right的点积).
- See Also