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