Tensor.MaxMagnitudeNumber 方法

定义

重载

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

计算指定张量中具有最大数量级的元素级数。

MaxMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, T)

计算指定张量中具有最大数量级的元素级数。

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

计算指定张量中具有最大数量级的元素级数。

MaxMagnitudeNumber<T>(ReadOnlyTensorSpan<T>)

在指定的张量中搜索具有最大数量级的数字。

MaxMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

计算指定张量中具有最大数量级的元素级数。

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

Source:
TensorExtensions.cs

计算指定张量中具有最大数量级的元素级数。

public:
generic <typename T>
 where T : System::Numerics::INumber<T> static System::Numerics::Tensors::TensorSpan<T> ^ MaxMagnitudeNumber(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> MaxMagnitudeNumber<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.INumber<T>;
static member MaxMagnitudeNumber : ReadOnlyTensorSpan * ReadOnlyTensorSpan * TensorSpan -> TensorSpan (requires 'T :> System.Numerics.INumber<'T>)
Public Function MaxMagnitudeNumber(Of T As INumber(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T), ByRef y As ReadOnlyTensorSpan(Of T), ByRef destination As TensorSpan(Of T)) As TensorSpan(Of T)

类型参数

T

参数

x
ReadOnlyTensorSpan<T>

第一个张量,表示为范围。

y
ReadOnlyTensorSpan<T>

第二个张量,表示为范围。

destination
TensorSpan<T>

目标张量,表示为范围。

返回

适用于

MaxMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, T)

Source:
TensorExtensions.cs

计算指定张量中具有最大数量级的元素级数。

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

类型参数

T

参数

x
ReadOnlyTensorSpan<T>

第一个张量,表示为范围。

y
T

第二个张量,表示为范围。

返回

适用于

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

Source:
TensorExtensions.cs

计算指定张量中具有最大数量级的元素级数。

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

类型参数

T

参数

x
ReadOnlyTensorSpan<T>

第一个张量,表示为范围。

y
T

第二个张量,表示为范围。

destination
TensorSpan<T>

目标张量,表示为范围。

返回

适用于

MaxMagnitudeNumber<T>(ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs

在指定的张量中搜索具有最大数量级的数字。

public:
generic <typename T>
 where T : System::Numerics::INumberBase<T> static T MaxMagnitudeNumber(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % x);
public static T MaxMagnitudeNumber<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x) where T : System.Numerics.INumberBase<T>;
static member MaxMagnitudeNumber : ReadOnlyTensorSpan -> 'T (requires 'T :> System.Numerics.INumberBase<'T>)
Public Function MaxMagnitudeNumber(Of T As INumberBase(Of T)) (ByRef x As ReadOnlyTensorSpan(Of T)) As T

类型参数

T

参数

返回

T

适用于

MaxMagnitudeNumber<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs

计算指定张量中具有最大数量级的元素级数。

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

类型参数

T

参数

x
ReadOnlyTensorSpan<T>

第一个张量,表示为范围。

y
ReadOnlyTensorSpan<T>

第二个张量,表示为范围。

返回

适用于