Vector.Multiply 方法

定义

重载

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

返回一个新向量,其值是两个指定向量中每个元素对的乘积。

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

返回一个新向量,其值是指定向量的值,每个向量乘以标量值。

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

返回一个新向量,其值是标量值乘以指定向量的每个值。

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

Source:
Vector.cs
Source:
Vector.cs
Source:
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)

Source:
Vector.cs
Source:
Vector.cs
Source:
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>)

Source:
Vector.cs
Source:
Vector.cs
Source:
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>

向量。

返回

缩放矢量。

适用于