Vector4.Multiply Vector4.Multiply Vector4.Multiply Vector4.Multiply Method

Definition

Performs a multiplication operation on a vector.

Overloads

Multiply(Vector4, Vector4) Multiply(Vector4, Vector4) Multiply(Vector4, Vector4) Multiply(Vector4, Vector4)

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

Multiply(Vector4, Single) Multiply(Vector4, Single) Multiply(Vector4, Single) Multiply(Vector4, Single)

Multiplies a vector by a specified scalar.

Multiply(Single, Vector4) Multiply(Single, Vector4) Multiply(Single, Vector4) Multiply(Single, Vector4)

Multiplies a scalar value by a specified vector.

Multiply(Vector4, Vector4) Multiply(Vector4, Vector4) Multiply(Vector4, Vector4) Multiply(Vector4, Vector4)

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

public:
 static System::Numerics::Vector4 Multiply(System::Numerics::Vector4 left, System::Numerics::Vector4 right);
public static System.Numerics.Vector4 Multiply (System.Numerics.Vector4 left, System.Numerics.Vector4 right);
static member Multiply : System.Numerics.Vector4 * System.Numerics.Vector4 -> System.Numerics.Vector4
Public Shared Function Multiply (left As Vector4, right As Vector4) As Vector4

Parameters

left
Vector4 Vector4 Vector4 Vector4

The first vector.

right
Vector4 Vector4 Vector4 Vector4

The second vector.

Returns

The element-wise product vector.

Multiply(Vector4, Single) Multiply(Vector4, Single) Multiply(Vector4, Single) Multiply(Vector4, Single)

Multiplies a vector by a specified scalar.

public:
 static System::Numerics::Vector4 Multiply(System::Numerics::Vector4 left, float right);
public static System.Numerics.Vector4 Multiply (System.Numerics.Vector4 left, float right);
static member Multiply : System.Numerics.Vector4 * single -> System.Numerics.Vector4
Public Shared Function Multiply (left As Vector4, right As Single) As Vector4

Parameters

left
Vector4 Vector4 Vector4 Vector4

The vector to multiply.

right
Single Single Single Single

The scalar value.

Returns

The scaled vector.

Multiply(Single, Vector4) Multiply(Single, Vector4) Multiply(Single, Vector4) Multiply(Single, Vector4)

Multiplies a scalar value by a specified vector.

public:
 static System::Numerics::Vector4 Multiply(float left, System::Numerics::Vector4 right);
public static System.Numerics.Vector4 Multiply (float left, System.Numerics.Vector4 right);
static member Multiply : single * System.Numerics.Vector4 -> System.Numerics.Vector4
Public Shared Function Multiply (left As Single, right As Vector4) As Vector4

Parameters

left
Single Single Single Single

The scaled value.

right
Vector4 Vector4 Vector4 Vector4

The vector.

Returns

The scaled vector.

Applies to