Partajați prin


Tensor.Norm<T>(ReadOnlyTensorSpan<T>) Method

Definition

Takes the norm of the ReadOnlyTensorSpan<T> and returns the result.

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

Type Parameters

T

Parameters

x
ReadOnlyTensorSpan<T>

The ReadOnlyTensorSpan<T> to take the norm of.

Returns

T

Applies to