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