# Vector128.Multiply Method

## Definition

 Multiply(Vector128, Vector128) Multiplies two vectors to compute their element-wise product. Multiply(Vector128, T) Multiplies a vector by a scalar to compute their product. Multiply(T, Vector128) Multiplies a vector by a scalar to compute their product.

## Multiply<T>(Vector128<T>, Vector128<T>)

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.

## Multiply<T>(Vector128<T>, T)

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.

## Multiply<T>(T, Vector128<T>)

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.