# Vector<T>.Multiply Operator

## Definition

 Multiply(Vector, Vector) Returns a new vector whose values are the product of each pair of elements in two specified vectors. Multiply(Vector, T) Multiplies a vector by a specified scalar value. Multiply(T, Vector) Multiplies a vector by a specified scalar value.

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

Returns a new vector whose values are the product of each pair of elements in two specified vectors.

``````public:
static System::Numerics::Vector<T> operator *(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);``````
``public static System.Numerics.Vector<T> operator * (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);``
``static member ( * ) : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)>``
``Public Shared Operator * (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)``

#### Parameters

left
Vector<T>

The first vector.

right
Vector<T>

The second vector.

#### Returns

The element-wise product vector.

### Remarks

The Multiply method defines the multiplication operation for Vector<T> objects.

## Multiply(Vector<T>, T)

Multiplies a vector by a specified scalar value.

``````public:
static System::Numerics::Vector<T> operator *(System::Numerics::Vector<T> value, T factor);``````
``public static System.Numerics.Vector<T> operator * (System.Numerics.Vector<T> value, T factor);``
``static member ( * ) : System.Numerics.Vector<'T (requires 'T : struct)> * 'T -> System.Numerics.Vector<'T (requires 'T : struct)>``
``Public Shared Operator * (value As Vector(Of T), factor As T) As Vector(Of T)``

#### Parameters

value
Vector<T>

The source vector.

factor
T

A scalar value.

#### Returns

The scaled vector.

### Remarks

The Multiply method defines the multiplication operation for Vector<T> objects.

## Multiply(T, Vector<T>)

Multiplies a vector by a specified scalar value.

``````public:
static System::Numerics::Vector<T> operator *(T factor, System::Numerics::Vector<T> value);``````
``public static System.Numerics.Vector<T> operator * (T factor, System.Numerics.Vector<T> value);``
``static member ( * ) : 'T * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)>``
``Public Shared Operator * (factor As T, value As Vector(Of T)) As Vector(Of T)``

#### Parameters

factor
T

The scalar value.

value
Vector<T>

The source vector.

#### Returns

The scaled vector.

### Remarks

The Multiply method defines the multiplication operation for Vector<T> objects.