Vector<T>.Multiply 運算子

定義

多載

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

傳回新的向量,其值為兩個指定向量之每對元素的乘積。

Multiply(Vector<T>, T)

將向量乘以指定的純量值。

Multiply(T, Vector<T>)

將向量乘以指定的純量值。

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

來源:
Vector_1.cs
來源:
Vector_1.cs
來源:
Vector_1.cs

傳回新的向量,其值為兩個指定向量之每對元素的乘積。

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)>
static member ( * ) : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Operator * (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)

參數

left
Vector<T>

第一個向量。

right
Vector<T>

第二個向量。

傳回

元素智慧產品向量。

例外狀況

.NET 5 和更新版本:不支援類型 T

備註

方法 Multiply 會定義 物件的乘法運算 Vector<T>

適用於

Multiply(Vector<T>, T)

來源:
Vector_1.cs
來源:
Vector_1.cs
來源:
Vector_1.cs

將向量乘以指定的純量值。

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)>
static member ( * ) : System.Numerics.Vector<'T> * 'T -> System.Numerics.Vector<'T>
Public Shared Operator * (value As Vector(Of T), factor As T) As Vector(Of T)

參數

value
Vector<T>

來源向量。

factor
T

純量值。

傳回

已縮放的向量。

例外狀況

.NET 5 和更新版本:不支援類型 T

備註

方法 Multiply 會定義 物件的乘法運算 Vector<T>

適用於

Multiply(T, Vector<T>)

來源:
Vector_1.cs
來源:
Vector_1.cs
來源:
Vector_1.cs

將向量乘以指定的純量值。

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)>
static member ( * ) : 'T * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Operator * (factor As T, value As Vector(Of T)) As Vector(Of T)

參數

factor
T

純量值。

value
Vector<T>

來源向量。

傳回

已縮放的向量。

例外狀況

.NET 5 和更新版本:不支援類型 T

備註

方法 Multiply 會定義 物件的乘法運算 Vector<T>

適用於