# Vector<T>.Multiply Operátor

## Přetížení

 Multiply(Vector, Vector) Returns a new vector whose values are the product of each pair of elements in two specified vectors.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.Multiplies a vector by a specified scalar value. Multiply(T, Vector) Multiplies a vector by a specified scalar value.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.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)``

#### Parametry

left
Vector<T>

The first vector.The first vector.

right
Vector<T>

The second vector.The second vector.

#### Návraty

The element-wise product vector.The element-wise product vector.

### Poznámky

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

## Multiply(Vector<T>, T)

Multiplies a vector by a specified scalar value.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)``

#### Parametry

value
Vector<T>

The source vector.The source vector.

factor
T

A scalar value.A scalar value.

#### Návraty

The scaled vector.The scaled vector.

### Poznámky

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

## Multiply(T, Vector<T>)

Multiplies a vector by a specified scalar value.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)``

#### Parametry

factor
T

The scalar value.The scalar value.

value
Vector<T>

The source vector.The source vector.

#### Návraty

The scaled vector.The scaled vector.

### Poznámky

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