共用方式為


Vector.Multiply 方法

定義

多載

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

傳回新的向量,其值是兩個指定向量中每個專案組的乘積。

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

傳回新的向量,其值是指定向量的值,每個向量乘以純量值。

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

傳回新的向量,其值為純量值乘以指定向量的每個值。

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

來源:
Vector.cs
來源:
Vector.cs
來源:
Vector.cs

傳回新的向量,其值是兩個指定向量中每個專案組的乘積。

public:
generic <typename T>
 where T : value class static System::Numerics::Vector<T> Multiply(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public:
generic <typename T>
 static System::Numerics::Vector<T> Multiply(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static System.Numerics.Vector<T> Multiply<T> (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right) where T : struct;
public static System.Numerics.Vector<T> Multiply<T> (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member Multiply : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)> (requires 'T : struct)
static member Multiply : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Function Multiply(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)
Public Function Multiply(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)
Public Function Multiply(Of T) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)

類型參數

T

向量類型。 T 可以是任何基本數值類型。

參數

left
Vector<T>

第一個向量。

right
Vector<T>

第二個向量。

傳回

元素乘積向量。

適用於

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

來源:
Vector.cs
來源:
Vector.cs
來源:
Vector.cs

傳回新的向量,其值是指定向量的值,每個向量乘以純量值。

public:
generic <typename T>
 where T : value class static System::Numerics::Vector<T> Multiply(System::Numerics::Vector<T> left, T right);
public:
generic <typename T>
 static System::Numerics::Vector<T> Multiply(System::Numerics::Vector<T> left, T right);
public static System.Numerics.Vector<T> Multiply<T> (System.Numerics.Vector<T> left, T right) where T : struct;
public static System.Numerics.Vector<T> Multiply<T> (System.Numerics.Vector<T> left, T right);
static member Multiply : System.Numerics.Vector<'T (requires 'T : struct)> * 'T -> System.Numerics.Vector<'T (requires 'T : struct)> (requires 'T : struct)
static member Multiply : System.Numerics.Vector<'T> * 'T -> System.Numerics.Vector<'T>
Public Shared Function Multiply(Of T As Structure) (left As Vector(Of T), right As T) As Vector(Of T)
Public Function Multiply(Of T As Structure) (left As Vector(Of T), right As T) As Vector(Of T)
Public Function Multiply(Of T) (left As Vector(Of T), right As T) As Vector(Of T)

類型參數

T

向量類型。 T 可以是任何基本數值類型。

參數

left
Vector<T>

向量。

right
T

純量值。

傳回

縮放向量。

適用於

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

來源:
Vector.cs
來源:
Vector.cs
來源:
Vector.cs

傳回新的向量,其值為純量值乘以指定向量的每個值。

public:
generic <typename T>
 where T : value class static System::Numerics::Vector<T> Multiply(T left, System::Numerics::Vector<T> right);
public:
generic <typename T>
 static System::Numerics::Vector<T> Multiply(T left, System::Numerics::Vector<T> right);
public static System.Numerics.Vector<T> Multiply<T> (T left, System.Numerics.Vector<T> right) where T : struct;
public static System.Numerics.Vector<T> Multiply<T> (T left, System.Numerics.Vector<T> right);
static member Multiply : 'T * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)> (requires 'T : struct)
static member Multiply : 'T * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Function Multiply(Of T As Structure) (left As T, right As Vector(Of T)) As Vector(Of T)
Public Function Multiply(Of T As Structure) (left As T, right As Vector(Of T)) As Vector(Of T)
Public Function Multiply(Of T) (left As T, right As Vector(Of T)) As Vector(Of T)

類型參數

T

向量類型。 T 可以是任何基本數值類型。

參數

left
T

純量值。

right
Vector<T>

向量。

傳回

縮放向量。

適用於