Edit

Share via


Tensor.Divide Method

Definition

Overloads

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

Divide<T>(Tensor<T>, Tensor<T>)

Source:
TensorExtensions.cs
public:
generic <typename T>
 where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::Tensor<T> ^ Divide(System::Numerics::Tensors::Tensor<T> ^ left, System::Numerics::Tensors::Tensor<T> ^ right);
public static System.Numerics.Tensors.Tensor<T> Divide<T> (System.Numerics.Tensors.Tensor<T> left, System.Numerics.Tensors.Tensor<T> right) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> * System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)
Public Function Divide(Of T As IDivisionOperators(Of T, 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

Divide<T>(Tensor<T>, T)

Source:
TensorExtensions.cs
public:
generic <typename T>
 where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::Tensor<T> ^ Divide(System::Numerics::Tensors::Tensor<T> ^ input, T val);
public static System.Numerics.Tensors.Tensor<T> Divide<T> (System.Numerics.Tensors.Tensor<T> input, T val) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> * 'T -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)> (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)
Public Function Divide(Of T As IDivisionOperators(Of T, 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

Divide<T>(T, Tensor<T>)

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

Type Parameters

T

Parameters

val
T
input
Tensor<T>

Returns

Applies to

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

Source:
TensorExtensions.cs
public:
generic <typename T>
 where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::TensorSpan<T> ^ Divide(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> Divide<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.IDivisionOperators<T,T,T>;
static member Divide : ReadOnlyTensorSpan * ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)
Public Function Divide(Of T As IDivisionOperators(Of T, 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

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

Source:
TensorExtensions.cs
public:
generic <typename T>
 where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::TensorSpan<T> ^ Divide(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % input, T val, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Divide<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> input, T val, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : ReadOnlyTensorSpan * 'T * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IDivisionOperators<'T, 'T, 'T>)
Public Function Divide(Of T As IDivisionOperators(Of T, 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

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

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

Type Parameters

T

Parameters

val
T
destination
TensorSpan<T>

Returns

Applies to