Tensor.Multiply Method

Definition

Overloads

Multiply<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)
Multiply<T>(Tensor<T>, Tensor<T>)
Multiply<T>(Tensor<T>, T)
Multiply<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Multiply<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Source:
TensorExtensions.cs
public:
generic <typename T>
 where T : System::Numerics::IMultiplyOperators<T, T, T>, System::Numerics::IMultiplicativeIdentity<T, T> static System::Numerics::Tensors::TensorSpan<T> ^ Multiply(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % input, T val, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Multiply<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> input, T val, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IMultiplyOperators<T,T,T>, System.Numerics.IMultiplicativeIdentity<T,T>;
static member Multiply : ReadOnlyTensorSpan * 'T * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)
Public Function Multiply(Of T As {IMultiplyOperators(Of T, T, T), IMultiplicativeIdentity(Of T, T)}) (ByRef input As ReadOnlyTensorSpan(Of T), val As T, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)

Type Parameters

T

Parameters

val
T
destination
TensorSpan<T>

Returns

Applies to

Multiply<T>(Tensor<T>, Tensor<T>)

Source:
TensorExtensions.cs
public:
generic <typename T>
 where T : System::Numerics::IMultiplyOperators<T, T, T>, System::Numerics::IMultiplicativeIdentity<T, T> static System::Numerics::Tensors::Tensor<T> ^ Multiply(System::Numerics::Tensors::Tensor<T> ^ left, System::Numerics::Tensors::Tensor<T> ^ right);
public static System.Numerics.Tensors.Tensor<T> Multiply<T> (System.Numerics.Tensors.Tensor<T> left, System.Numerics.Tensors.Tensor<T> right) where T : System.Numerics.IMultiplyOperators<T,T,T>, System.Numerics.IMultiplicativeIdentity<T,T>;
static member Multiply : System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)> * System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)> -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)> (requires 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)
Public Function Multiply(Of T As {IMultiplyOperators(Of T, T, T), IMultiplicativeIdentity(Of T, T)}) (left As Tensor(Of T), right As Tensor(Of T)) As Tensor(Of T)

Type Parameters

T

Parameters

left
Tensor<T>
right
Tensor<T>

Returns

Applies to

Multiply<T>(Tensor<T>, T)

Source:
TensorExtensions.cs
public:
generic <typename T>
 where T : System::Numerics::IMultiplyOperators<T, T, T>, System::Numerics::IMultiplicativeIdentity<T, T> static System::Numerics::Tensors::Tensor<T> ^ Multiply(System::Numerics::Tensors::Tensor<T> ^ input, T val);
public static System.Numerics.Tensors.Tensor<T> Multiply<T> (System.Numerics.Tensors.Tensor<T> input, T val) where T : System.Numerics.IMultiplyOperators<T,T,T>, System.Numerics.IMultiplicativeIdentity<T,T>;
static member Multiply : System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)> * 'T -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)> (requires 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)
Public Function Multiply(Of T As {IMultiplyOperators(Of T, T, T), IMultiplicativeIdentity(Of T, T)}) (input As Tensor(Of T), val As T) As Tensor(Of T)

Type Parameters

T

Parameters

input
Tensor<T>
val
T

Returns

Applies to

Multiply<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Source:
TensorExtensions.cs
public:
generic <typename T>
 where T : System::Numerics::IMultiplyOperators<T, T, T>, System::Numerics::IMultiplicativeIdentity<T, T> static System::Numerics::Tensors::TensorSpan<T> ^ Multiply(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % left, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % right, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Multiply<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> left, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> right, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IMultiplyOperators<T,T,T>, System.Numerics.IMultiplicativeIdentity<T,T>;
static member Multiply : ReadOnlyTensorSpan * ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IMultiplyOperators<'T, 'T, 'T> and 'T :> System.Numerics.IMultiplicativeIdentity<'T, 'T>)
Public Function Multiply(Of T As {IMultiplyOperators(Of T, T, T), IMultiplicativeIdentity(Of T, T)}) (ByRef left As ReadOnlyTensorSpan(Of T), ByRef right As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)

Type Parameters

T

Parameters

destination
TensorSpan<T>

Returns

Applies to