Condividi tramite


Tensor.RootN Metodo

Definizione

Overload

RootN<T>(ReadOnlyTensorSpan<T>, Int32)

Calcola la radice n-th dell'elemento dei valori nel tensore specificato.

RootN<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)

Calcola la radice n-th dell'elemento dei valori nel tensore specificato.

RootN<T>(ReadOnlyTensorSpan<T>, Int32)

Origine:
TensorExtensions.cs
Origine:
TensorExtensions.cs

Calcola la radice n-th dell'elemento dei valori nel tensore specificato.

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

Parametri di tipo

T

Parametri

x
ReadOnlyTensorSpan<T>

Tensore, rappresentato come intervallo.

n
Int32

Grado della radice da calcolare, rappresentato come scalare.

Restituisce

Si applica a

RootN<T>(ReadOnlyTensorSpan<T>, Int32, TensorSpan<T>)

Origine:
TensorExtensions.cs
Origine:
TensorExtensions.cs

Calcola la radice n-th dell'elemento dei valori nel tensore specificato.

public:
generic <typename T>
 where T : System::Numerics::IRootFunctions<T> static System::Numerics::Tensors::TensorSpan<T> ^ RootN(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x, int n, System::Numerics::Tensors::TensorSpan<T> % destination);
public static ref readonly System.Numerics.Tensors.TensorSpan<T> RootN<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, int n, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IRootFunctions<T>;
static member RootN : ReadOnlyTensorSpan * int * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.IRootFunctions<'T>)
Public Function RootN(Of T As IRootFunctions(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), n As Integer, ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)

Parametri di tipo

T

Parametri

x
ReadOnlyTensorSpan<T>

Tensore, rappresentato come intervallo.

n
Int32

Grado della radice da calcolare, rappresentato come scalare.

destination
TensorSpan<T>

Tensore di destinazione, rappresentato come intervallo.

Restituisce

Si applica a