Share via


Tensor.Divide Method

Definition

Overloads

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

Divides each element of x by its corresponding element in y and returns a new ReadOnlyTensorSpan<T> with the result.

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

Divides each element of x by y and returns a new Tensor<T> with the result.

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

Divides x by each element of y and returns a new Tensor<T> with the result."/>

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

Divides each element of x by its corresponding element in y and returns a new TensorSpan<T> with the result.

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

Divides each element of x by y and returns a new TensorSpan<T> with the result.

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

Divides x by each element of y and returns a new TensorSpan<T> with the result."/>

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

Source:
TensorExtensions.cs

Divides each element of x by its corresponding element in y and returns a new ReadOnlyTensorSpan<T> with the result.

public:
generic <typename T>
 where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::Tensor<T> ^ Divide(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y);
public static System.Numerics.Tensors.Tensor<T> Divide<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : ReadOnlyTensorSpan * ReadOnlyTensorSpan -> 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)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef y As ReadOnlyTensorSpan(Of T)) As Tensor(Of T)

Type Parameters

T

Parameters

Returns

Applies to

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

Source:
TensorExtensions.cs

Divides each element of x by y and returns a new Tensor<T> with the result.

public:
generic <typename T>
 where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::Tensor<T> ^ Divide(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, T y);
public static System.Numerics.Tensors.Tensor<T> Divide<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : ReadOnlyTensorSpan * '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)) (ByRef x As ReadOnlyTensorSpan(Of T), y As T) As Tensor(Of T)

Type Parameters

T

Parameters

y
T

The divisor

Returns

Applies to

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

Source:
TensorExtensions.cs

Divides x by each element of y and returns a new Tensor<T> with the result."/>

public:
generic <typename T>
 where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::Tensor<T> ^ Divide(T x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y);
public static System.Numerics.Tensors.Tensor<T> Divide<T> (T x, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y) where T : System.Numerics.IDivisionOperators<T,T,T>;
static member Divide : 'T * ReadOnlyTensorSpan -> 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)) (x As T, ByRef y As ReadOnlyTensorSpan(Of T)) As Tensor(Of T)

Type Parameters

T

Parameters

x
T

The value to be divided.

Returns

Applies to

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

Source:
TensorExtensions.cs

Divides each element of x by its corresponding element in y and returns a new TensorSpan<T> with the result.

public:
generic <typename T>
 where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::TensorSpan<T> ^ Divide(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Divide<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y, 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 x As ReadOnlyTensorSpan(Of T), ByRef y 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

Divides each element of x by y and returns a new TensorSpan<T> with the result.

public:
generic <typename T>
 where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::TensorSpan<T> ^ Divide(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, T y, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Divide<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y, 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 x As ReadOnlyTensorSpan(Of T), y As T, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)

Type Parameters

T

Parameters

y
T

The divisor

destination
TensorSpan<T>

Returns

Applies to

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

Source:
TensorExtensions.cs

Divides x by each element of y and returns a new TensorSpan<T> with the result."/>

public:
generic <typename T>
 where T : System::Numerics::IDivisionOperators<T, T, T> static System::Numerics::Tensors::TensorSpan<T> ^ Divide(T x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Divide<T> (T x, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y, 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)) (x As T, ByRef y As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)

Type Parameters

T

Parameters

x
T

The value to be divided.

destination
TensorSpan<T>

Returns

Applies to