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