संपादित करें

इसके माध्यम से साझा किया गया


Vector4.Multiply Method

Definition

Performs a multiplication operation on a vector.

Overloads

Multiply(Vector4, Vector4)

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

Multiply(Vector4, Single)

Multiplies a vector by a specified scalar.

Multiply(Single, Vector4)

Multiplies a scalar value by a specified vector.

Multiply(Vector4, Vector4)

Source:
Vector4.cs
Source:
Vector4.cs
Source:
Vector4.cs

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

The first vector.

right
Vector4

The second vector.

Returns

The element-wise product vector.

Applies to

Multiply(Vector4, Single)

Source:
Vector4.cs
Source:
Vector4.cs
Source:
Vector4.cs

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

The vector to multiply.

right
Single

The scalar value.

Returns

The scaled vector.

Applies to

Multiply(Single, Vector4)

Source:
Vector4.cs
Source:
Vector4.cs
Source:
Vector4.cs

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

The scaled value.

right
Vector4

The vector.

Returns

The scaled vector.

Applies to