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