Method Dot
- Namespace
- Zyl.Vector
Traits
- 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]
.
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]
.
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]
.
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]
.
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]
.
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]
.
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]
.
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]
.
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]
.
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]
.
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