2 implementations of ITensor
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
18
public sealed class Tensor<T> :
ITensor
<Tensor<T>, T>, IEnumerable<T>
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
26
:
ITensor
<TensorSpan<T>, T>
38 references to ITensor
System.Numerics.Tensors (38)
System\Numerics\Tensors\netcore\ITensor_1.cs (1)
12
where TSelf :
ITensor
<TSelf, T>
System\Numerics\Tensors\netcore\Tensor.cs (4)
316
/// <inheritdoc cref="
ITensor
{TSelf, T}.CreateFromShape(ReadOnlySpan{nint}, bool)" />
321
/// <inheritdoc cref="
ITensor
{TSelf, T}.CreateFromShape(ReadOnlySpan{nint}, ReadOnlySpan{nint}, bool)" />
326
/// <inheritdoc cref="
ITensor
{TSelf, T}.CreateFromShapeUninitialized(ReadOnlySpan{nint}, bool)" />
330
/// <inheritdoc cref="
ITensor
{TSelf, T}.CreateFromShapeUninitialized(ReadOnlySpan{nint}, ReadOnlySpan{nint}, bool)" />
System\Numerics\Tensors\netcore\Tensor_1.cs (15)
148
/// <inheritdoc cref="
ITensor
{TSelf, T}.AsTensorSpan()" />
151
/// <inheritdoc cref="
ITensor
{TSelf, T}.AsTensorSpan(ReadOnlySpan{nint})" />
154
/// <inheritdoc cref="
ITensor
{TSelf, T}.AsTensorSpan(ReadOnlySpan{NIndex})" />
157
/// <inheritdoc cref="
ITensor
{TSelf, T}.AsTensorSpan(ReadOnlySpan{NRange})" />
172
/// <inheritdoc cref="
ITensor
{TSelf, T}.Fill(T)" />
184
/// <inheritdoc cref="
ITensor
{TSelf, T}.GetDimensionSpan(int)" />
190
/// <inheritdoc cref="
ITensor
{TSelf, T}.GetPinnableReference()" />
200
/// <inheritdoc cref="
ITensor
{TSelf, T}.GetSpan(ReadOnlySpan{nint}, int)" />
203
/// <inheritdoc cref="
ITensor
{TSelf, T}.GetSpan(ReadOnlySpan{NIndex}, int)" />
279
/// <inheritdoc cref="
ITensor
{TSelf, T}.TryGetSpan(ReadOnlySpan{nint}, int, out Span{T})" />
282
/// <inheritdoc cref="
ITensor
{TSelf, T}.TryGetSpan(ReadOnlySpan{NIndex}, int, out Span{T})" />
365
static Tensor<T>
ITensor
<Tensor<T>, T>.CreateFromShape(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.CreateFromShape<T>(lengths, pinned);
367
static Tensor<T>
ITensor
<Tensor<T>, T>.CreateFromShape(scoped ReadOnlySpan<nint> lengths, scoped ReadOnlySpan<nint> strides, bool pinned) => Tensor.CreateFromShape<T>(lengths, strides, pinned);
369
static Tensor<T>
ITensor
<Tensor<T>, T>.CreateFromShapeUninitialized(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.CreateFromShapeUninitialized<T>(lengths, pinned);
371
static Tensor<T>
ITensor
<Tensor<T>, T>.CreateFromShapeUninitialized(scoped ReadOnlySpan<nint> lengths, scoped ReadOnlySpan<nint> strides, bool pinned) => Tensor.CreateFromShapeUninitialized<T>(lengths, strides, pinned);
System\Numerics\Tensors\netcore\TensorSpan_1.cs (18)
153
/// <inheritdoc cref="
ITensor
{TSelf, T}.this[ReadOnlySpan{nint}]" />
159
/// <inheritdoc cref="
ITensor
{TSelf, T}.this[ReadOnlySpan{NIndex}]" />
165
/// <inheritdoc cref="
ITensor
{TSelf, T}.this[ReadOnlySpan{NRange}]" />
247
/// <inheritdoc cref="
ITensor
{TSelf, T}.Fill(T)" />
259
/// <inheritdoc cref="
ITensor
{TSelf, T}.GetDimensionSpan(int)" />
271
/// <inheritdoc cref="
ITensor
{TSelf, T}.GetPinnableReference()" />
281
/// <inheritdoc cref="
ITensor
{TSelf, T}.GetSpan(ReadOnlySpan{nint}, int)" />
291
/// <inheritdoc cref="
ITensor
{TSelf, T}.GetSpan(ReadOnlySpan{NIndex}, int)" />
343
/// <inheritdoc cref="
ITensor
{TSelf, T}.TryGetSpan(ReadOnlySpan{nint}, int, out Span{T})" />
359
/// <inheritdoc cref="
ITensor
{TSelf, T}.TryGetSpan(ReadOnlySpan{NIndex}, int, out Span{T})" />
451
static TensorSpan<T>
ITensor
<TensorSpan<T>, T>.CreateFromShape(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.CreateFromShape<T>(lengths, pinned);
453
static TensorSpan<T>
ITensor
<TensorSpan<T>, T>.CreateFromShape(scoped ReadOnlySpan<nint> lengths, scoped ReadOnlySpan<nint> strides, bool pinned) => Tensor.CreateFromShape<T>(lengths, strides, pinned);
455
static TensorSpan<T>
ITensor
<TensorSpan<T>, T>.CreateFromShapeUninitialized(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.CreateFromShapeUninitialized<T>(lengths, pinned);
457
static TensorSpan<T>
ITensor
<TensorSpan<T>, T>.CreateFromShapeUninitialized(scoped ReadOnlySpan<nint> lengths, scoped ReadOnlySpan<nint> strides, bool pinned) => Tensor.CreateFromShapeUninitialized<T>(lengths, strides, pinned);
459
TensorSpan<T>
ITensor
<TensorSpan<T>, T>.AsTensorSpan() => this;
461
TensorSpan<T>
ITensor
<TensorSpan<T>, T>.AsTensorSpan(params scoped ReadOnlySpan<nint> startIndexes) => Slice(startIndexes);
463
TensorSpan<T>
ITensor
<TensorSpan<T>, T>.AsTensorSpan(params scoped ReadOnlySpan<NIndex> startIndexes) => Slice(startIndexes);
465
TensorSpan<T>
ITensor
<TensorSpan<T>, T>.AsTensorSpan(params scoped ReadOnlySpan<NRange> ranges) => Slice(ranges);