Freigeben über


Tensor.SequenceEqual Methode

Definition

Überlädt

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

Bestimmt, ob zwei Sequenzen gleich sind, indem die Elemente mithilfe von "IEquatable{T}" verglichen werden. Entspricht(T).

SequenceEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Bestimmt, ob zwei Sequenzen gleich sind, indem die Elemente mithilfe von "IEquatable{T}" verglichen werden. Entspricht(T).

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

Quelle:
TensorExtensions.cs
Quelle:
TensorExtensions.cs

Bestimmt, ob zwei Sequenzen gleich sind, indem die Elemente mithilfe von "IEquatable{T}" verglichen werden. Entspricht(T).

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool SequenceEqual(System::Numerics::Tensors::TensorSpan<T> % tensor, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % other);
public static bool SequenceEqual<T> (this scoped in System.Numerics.Tensors.TensorSpan<T> tensor, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> other) where T : IEquatable<T>;
static member SequenceEqual : TensorSpan * ReadOnlyTensorSpan -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function SequenceEqual(Of T As IEquatable(Of T)) (ByRef tensor As TensorSpan(Of T), ByRef other As ReadOnlyTensorSpan(Of T)) As Boolean

Typparameter

T

Parameter

tensor
TensorSpan<T>

Gibt zurück

Gilt für:

SequenceEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Quelle:
TensorExtensions.cs
Quelle:
TensorExtensions.cs

Bestimmt, ob zwei Sequenzen gleich sind, indem die Elemente mithilfe von "IEquatable{T}" verglichen werden. Entspricht(T).

public:
generic <typename T>
 where T : IEquatable<T>[System::Runtime::CompilerServices::Extension]
 static bool SequenceEqual(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % tensor, System::Numerics::Tensors::ReadOnlyTensorSpan<T> % other);
public static bool SequenceEqual<T> (this scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> tensor, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> other) where T : IEquatable<T>;
static member SequenceEqual : ReadOnlyTensorSpan * ReadOnlyTensorSpan -> bool (requires 'T :> IEquatable<'T>)
<Extension()>
Public Function SequenceEqual(Of T As IEquatable(Of T)) (ByRef tensor As ReadOnlyTensorSpan(Of T), ByRef other As ReadOnlyTensorSpan(Of T)) As Boolean

Typparameter

T

Parameter

Gibt zurück

Gilt für: