Sdílet prostřednictvím


Tensor.RootN Metoda

Definice

Přetížení

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

Vypočítá n-tý kořen hodnot v zadaném tensoru.

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

Vypočítá n-tý kořen hodnot v zadaném tensoru.

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

Zdroj:
TensorExtensions.cs
Zdroj:
TensorExtensions.cs

Vypočítá n-tý kořen hodnot v zadaném tensoru.

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)

Parametry typu

T

Parametry

x
ReadOnlyTensorSpan<T>

Tenzor, reprezentovaný jako rozpětí.

n
Int32

Stupeň výpočtu kořene, reprezentovaný jako skalární.

Návraty

Platí pro

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

Zdroj:
TensorExtensions.cs
Zdroj:
TensorExtensions.cs

Vypočítá n-tý kořen hodnot v zadaném tensoru.

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)

Parametry typu

T

Parametry

x
ReadOnlyTensorSpan<T>

Tenzor, reprezentovaný jako rozpětí.

n
Int32

Stupeň výpočtu kořene, reprezentovaný jako skalární.

destination
TensorSpan<T>

Cílový tensor, reprezentovaný jako rozpětí.

Návraty

Platí pro