Vector128.Multiply Method
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.
Multiply<T>(Vector128<T>, Vector128<T>) |
Multiplies two vectors to compute their element-wise product. |
Multiply<T>(Vector128<T>, T) |
Multiplies a vector by a scalar to compute their product. |
Multiply<T>(T, Vector128<T>) |
Multiplies a vector by a scalar to compute their product. |
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
Multiplies two vectors to compute their element-wise product.
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector128<T> Multiply(System::Runtime::Intrinsics::Vector128<T> left, System::Runtime::Intrinsics::Vector128<T> right);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> Multiply(System::Runtime::Intrinsics::Vector128<T> left, System::Runtime::Intrinsics::Vector128<T> right);
public static System.Runtime.Intrinsics.Vector128<T> Multiply<T>(System.Runtime.Intrinsics.Vector128<T> left, System.Runtime.Intrinsics.Vector128<T> right) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> Multiply<T>(System.Runtime.Intrinsics.Vector128<T> left, System.Runtime.Intrinsics.Vector128<T> right);
static member Multiply : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member Multiply : System.Runtime.Intrinsics.Vector128<'T> * System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Function Multiply(Of T As Structure) (left As Vector128(Of T), right As Vector128(Of T)) As Vector128(Of T)
Public Function Multiply(Of T) (left As Vector128(Of T), right As Vector128(Of T)) As Vector128(Of T)
Type Parameters
- T
The type of the elements in the vector.
Parameters
- left
- Vector128<T>
The vector to multiply with right
.
- right
- Vector128<T>
The vector to multiply with left
.
Returns
The element-wise product of left
and right
.
Exceptions
The type of left
and right
(T
) is not supported.
Applies to
.NET 9 and other versions
Product | Versions |
---|---|
.NET | 7, 8, 9 |
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
Multiplies a vector by a scalar to compute their product.
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector128<T> Multiply(System::Runtime::Intrinsics::Vector128<T> left, T right);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> Multiply(System::Runtime::Intrinsics::Vector128<T> left, T right);
public static System.Runtime.Intrinsics.Vector128<T> Multiply<T>(System.Runtime.Intrinsics.Vector128<T> left, T right) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> Multiply<T>(System.Runtime.Intrinsics.Vector128<T> left, T right);
static member Multiply : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> * 'T -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member Multiply : System.Runtime.Intrinsics.Vector128<'T> * 'T -> System.Runtime.Intrinsics.Vector128<'T>
Public Function Multiply(Of T As Structure) (left As Vector128(Of T), right As T) As Vector128(Of T)
Public Function Multiply(Of T) (left As Vector128(Of T), right As T) As Vector128(Of T)
Type Parameters
- T
The type of the elements in the vector.
Parameters
- left
- Vector128<T>
The vector to multiply with right
.
- right
- T
The scalar to multiply with left
.
Returns
The product of left
and right
.
Exceptions
The type of left
and right
(T
) is not supported.
Applies to
.NET 9 and other versions
Product | Versions |
---|---|
.NET | 7, 8, 9 |
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
Multiplies a vector by a scalar to compute their product.
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector128<T> Multiply(T left, System::Runtime::Intrinsics::Vector128<T> right);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> Multiply(T left, System::Runtime::Intrinsics::Vector128<T> right);
public static System.Runtime.Intrinsics.Vector128<T> Multiply<T>(T left, System.Runtime.Intrinsics.Vector128<T> right) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> Multiply<T>(T left, System.Runtime.Intrinsics.Vector128<T> right);
static member Multiply : 'T * System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member Multiply : 'T * System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Function Multiply(Of T As Structure) (left As T, right As Vector128(Of T)) As Vector128(Of T)
Public Function Multiply(Of T) (left As T, right As Vector128(Of T)) As Vector128(Of T)
Type Parameters
- T
The type of the elements in the vector.
Parameters
- left
- T
The scalar to multiply with right
.
- right
- Vector128<T>
The vector to multiply with left
.
Returns
The product of left
and right
.
Exceptions
The type of left
and right
(T
) is not supported.
Applies to
.NET 9 and other versions
Product | Versions |
---|---|
.NET | 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: