Tensor.SequenceEqual Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SequenceEqual<T>(TensorSpan<T>, ReadOnlyTensorSpan<T>) |
Determines whether two sequences are equal by comparing the elements using IEquatable{T}.Equals(T). |
SequenceEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>) |
Determines whether two sequences are equal by comparing the elements using IEquatable{T}.Equals(T). |
SequenceEqual<T>(TensorSpan<T>, ReadOnlyTensorSpan<T>)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Determines whether two sequences are equal by comparing the elements using IEquatable{T}.Equals(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
Type Parameters
- T
Parameters
- tensor
- TensorSpan<T>
- other
- ReadOnlyTensorSpan<T>
Returns
Applies to
SequenceEqual<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)
- Source:
- TensorExtensions.cs
- Source:
- TensorExtensions.cs
Determines whether two sequences are equal by comparing the elements using IEquatable{T}.Equals(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
Type Parameters
- T
Parameters
- tensor
- ReadOnlyTensorSpan<T>
- other
- ReadOnlyTensorSpan<T>