Vector.Multiply 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
Multiply<T>(Vector<T>, Vector<T>) |
傳回新的向量,其值是兩個指定向量中每個專案組的乘積。 |
Multiply<T>(Vector<T>, 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(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>
第二個向量。
傳回
元素乘積向量。
適用於
.NET 9 及其他版本
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided), 2.1 |
UWP | 10.0 |
- 來源:
- 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
純量值。
傳回
縮放向量。
適用於
.NET 9 及其他版本
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided), 2.1 |
UWP | 10.0 |
- 來源:
- 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>
向量。
傳回
縮放向量。
適用於
.NET 9 及其他版本
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided), 2.1 |
UWP | 10.0 |