ITensor<TSelf,T>.Item[ReadOnlySpan Property
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
Item[ReadOnlySpan<NIndex>] |
Gets the value at the specified indexes. |
Item[ReadOnlySpan<NRange>] |
Gets the values at the specified ranges. |
Item[ReadOnlySpan<IntPtr>] |
Gets the value at the specified indexes. |
Item[ReadOnlySpan<NIndex>]
- Source:
- ITensor.cs
Gets the value at the specified indexes.
public:
property T default[ReadOnlySpan<System::Buffers::NIndex>] { T get(ReadOnlySpan<System::Buffers::NIndex> indexes); void set(ReadOnlySpan<System::Buffers::NIndex> indexes, T value); };
public T this[scoped ReadOnlySpan<System.Buffers.NIndex> indexes] { get; set; }
member this.Item(ReadOnlySpan<System.Buffers.NIndex>) : 'T with get, set
Default Public Property Item(indexes As ReadOnlySpan(Of NIndex)) As T
Parameters
- indexes
- ReadOnlySpan<NIndex>
The indexes to use.
Property Value
T
Applies to
Item[ReadOnlySpan<NRange>]
- Source:
- ITensor.cs
Gets the values at the specified ranges.
public:
property TSelf default[ReadOnlySpan<System::Buffers::NRange>] { TSelf get(ReadOnlySpan<System::Buffers::NRange> ranges); void set(ReadOnlySpan<System::Buffers::NRange> ranges, TSelf value); };
public TSelf this[scoped ReadOnlySpan<System.Buffers.NRange> ranges] { get; set; }
member this.Item(ReadOnlySpan<System.Buffers.NRange>) : 'Self with get, set
Default Public Property Item(ranges As ReadOnlySpan(Of NRange)) As TSelf
Parameters
- ranges
- ReadOnlySpan<NRange>
The ranges to be used.
Property Value
TSelf
Applies to
Item[ReadOnlySpan<IntPtr>]
- Source:
- ITensor.cs
Gets the value at the specified indexes.
public:
property T default[ReadOnlySpan<IntPtr>] { T get(ReadOnlySpan<IntPtr> indexes); void set(ReadOnlySpan<IntPtr> indexes, T value); };
public T this[scoped ReadOnlySpan<IntPtr> indexes] { get; set; }
member this.Item(ReadOnlySpan<nativeint>) : 'T with get, set
Default Public Property Item(indexes As ReadOnlySpan(Of IntPtr)) As T
Parameters
- indexes
-
ReadOnlySpan<nativeint>
The indexes to use.
Property Value
T
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.