Method Dot
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
Dot(Vector128<float>, Vector128<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].
float Dot(Vector128<float> left, Vector128<float> right)
Parameters
leftVector128<float>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector128<float>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- float
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector128<double>, Vector128<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].
double Dot(Vector128<double> left, Vector128<double> right)
Parameters
leftVector128<double>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector128<double>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- double
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector128<sbyte>, Vector128<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].
sbyte Dot(Vector128<sbyte> left, Vector128<sbyte> right)
Parameters
leftVector128<sbyte>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector128<sbyte>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- sbyte
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector128<byte>, Vector128<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].
byte Dot(Vector128<byte> left, Vector128<byte> right)
Parameters
leftVector128<byte>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector128<byte>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- byte
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector128<short>, Vector128<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].
short Dot(Vector128<short> left, Vector128<short> right)
Parameters
leftVector128<short>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector128<short>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- short
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector128<ushort>, Vector128<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].
ushort Dot(Vector128<ushort> left, Vector128<ushort> right)
Parameters
leftVector128<ushort>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector128<ushort>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- ushort
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector128<int>, Vector128<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].
int Dot(Vector128<int> left, Vector128<int> right)
Parameters
leftVector128<int>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector128<int>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- int
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector128<uint>, Vector128<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].
uint Dot(Vector128<uint> left, Vector128<uint> right)
Parameters
leftVector128<uint>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector128<uint>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- uint
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector128<long>, Vector128<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].
long Dot(Vector128<long> left, Vector128<long> right)
Parameters
leftVector128<long>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector128<long>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- long
The dot product of
leftandright(left与right的点积).
- See Also
Dot(Vector128<ulong>, Vector128<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].
ulong Dot(Vector128<ulong> left, Vector128<ulong> right)
Parameters
leftVector128<ulong>The vector that will be dotted with
right(将会与right进行点积的向量).rightVector128<ulong>The vector that will be dotted with
left(将会与left进行点积的向量).
Returns
- ulong
The dot product of
leftandright(left与right的点积).
- See Also