Vector128.Dot<T>(Vector128<T>, Vector128<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes the dot product of two vectors.
public:
generic <typename T>
where T : value class static T Dot(System::Runtime::Intrinsics::Vector128<T> left, System::Runtime::Intrinsics::Vector128<T> right);
public:
generic <typename T>
static T Dot(System::Runtime::Intrinsics::Vector128<T> left, System::Runtime::Intrinsics::Vector128<T> right);
public static T Dot<T> (System.Runtime.Intrinsics.Vector128<T> left, System.Runtime.Intrinsics.Vector128<T> right) where T : struct;
public static T Dot<T> (System.Runtime.Intrinsics.Vector128<T> left, System.Runtime.Intrinsics.Vector128<T> right);
static member Dot : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> 'T (requires 'T : struct)
static member Dot : System.Runtime.Intrinsics.Vector128<'T> * System.Runtime.Intrinsics.Vector128<'T> -> 'T
Public Function Dot(Of T As Structure) (left As Vector128(Of T), right As Vector128(Of T)) As T
Public Function Dot(Of T) (left As Vector128(Of T), right As Vector128(Of T)) As T
Type Parameters
- T
The type of the elements in the vector.
Parameters
- left
- Vector128<T>
The vector that will be dotted with right
.
- right
- Vector128<T>
The vector that will be dotted with left
.
Returns
T
The dot product of left
and right
.
Exceptions
The type of left
and right
(T
) is not supported.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.