Delen via


Tensor.Pow Method

Definition

Overloads

Pow<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

Pow<T>(ReadOnlyTensorSpan<T>, T)

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

Pow<T>(T, ReadOnlyTensorSpan<T>)

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

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

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

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

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

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

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

Pow<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

public:
generic <typename T>
 where T : System::Numerics::IPowerFunctions<T> static System::Numerics::Tensors::Tensor<T> ^ Pow(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y);
public static System.Numerics.Tensors.Tensor<T> Pow<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y) where T : System.Numerics.IPowerFunctions<T>;
static member Pow : ReadOnlyTensorSpan * ReadOnlyTensorSpan -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IPowerFunctions<'T>)> (requires 'T :> System.Numerics.IPowerFunctions<'T>)
Public Function Pow(Of T As IPowerFunctions(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef y As ReadOnlyTensorSpan(Of T)) As Tensor(Of T)

Type Parameters

T

Parameters

Returns

Applies to

Pow<T>(ReadOnlyTensorSpan<T>, T)

Source:
TensorExtensions.cs

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

public:
generic <typename T>
 where T : System::Numerics::IPowerFunctions<T> static System::Numerics::Tensors::Tensor<T> ^ Pow(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, T y);
public static System.Numerics.Tensors.Tensor<T> Pow<T> (in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y) where T : System.Numerics.IPowerFunctions<T>;
static member Pow : ReadOnlyTensorSpan * 'T -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IPowerFunctions<'T>)> (requires 'T :> System.Numerics.IPowerFunctions<'T>)
Public Function Pow(Of T As IPowerFunctions(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), y As T) As Tensor(Of T)

Type Parameters

T

Parameters

y
T

The second input

Returns

Applies to

Pow<T>(T, ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

public:
generic <typename T>
 where T : System::Numerics::IPowerFunctions<T> static System::Numerics::Tensors::Tensor<T> ^ Pow(T x, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % y);
public static System.Numerics.Tensors.Tensor<T> Pow<T> (T x, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y) where T : System.Numerics.IPowerFunctions<T>;
static member Pow : 'T * ReadOnlyTensorSpan -> System.Numerics.Tensors.Tensor<'T (requires 'T :> System.Numerics.IPowerFunctions<'T>)> (requires 'T :> System.Numerics.IPowerFunctions<'T>)
Public Function Pow(Of T As IPowerFunctions(Of T)) (x As T, ByRef y As ReadOnlyTensorSpan(Of T)) As Tensor(Of T)

Type Parameters

T

Parameters

x
T

The input ReadOnlyTensorSpan<T>.

y
ReadOnlyTensorSpan<T>

The second input

Returns

Applies to

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

Source:
TensorExtensions.cs

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

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

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

Source:
TensorExtensions.cs

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

public:
generic <typename T>
 where T : System::Numerics::IPowerFunctions<T> static System::Numerics::Tensors::TensorSpan<T> ^ Pow(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, T y, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> Pow<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IPowerFunctions<T>;
static member Pow : ReadOnlyTensorSpan * 'T * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IPowerFunctions<'T>)
Public Function Pow(Of T As IPowerFunctions(Of 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 second input ReadOnlyTensorSpan<T>

destination
TensorSpan<T>

Returns

Applies to

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

Source:
TensorExtensions.cs

Computes the element-wise power of a number in a specified tensor raised to a number in another specified tensors.

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

destination
TensorSpan<T>

Returns

Applies to