2 implementations of ITensor
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
18public 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)
12where 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})" /> 365static Tensor<T> ITensor<Tensor<T>, T>.CreateFromShape(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.CreateFromShape<T>(lengths, pinned); 367static Tensor<T> ITensor<Tensor<T>, T>.CreateFromShape(scoped ReadOnlySpan<nint> lengths, scoped ReadOnlySpan<nint> strides, bool pinned) => Tensor.CreateFromShape<T>(lengths, strides, pinned); 369static Tensor<T> ITensor<Tensor<T>, T>.CreateFromShapeUninitialized(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.CreateFromShapeUninitialized<T>(lengths, pinned); 371static 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})" /> 451static TensorSpan<T> ITensor<TensorSpan<T>, T>.CreateFromShape(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.CreateFromShape<T>(lengths, pinned); 453static TensorSpan<T> ITensor<TensorSpan<T>, T>.CreateFromShape(scoped ReadOnlySpan<nint> lengths, scoped ReadOnlySpan<nint> strides, bool pinned) => Tensor.CreateFromShape<T>(lengths, strides, pinned); 455static TensorSpan<T> ITensor<TensorSpan<T>, T>.CreateFromShapeUninitialized(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.CreateFromShapeUninitialized<T>(lengths, pinned); 457static TensorSpan<T> ITensor<TensorSpan<T>, T>.CreateFromShapeUninitialized(scoped ReadOnlySpan<nint> lengths, scoped ReadOnlySpan<nint> strides, bool pinned) => Tensor.CreateFromShapeUninitialized<T>(lengths, strides, pinned); 459TensorSpan<T> ITensor<TensorSpan<T>, T>.AsTensorSpan() => this; 461TensorSpan<T> ITensor<TensorSpan<T>, T>.AsTensorSpan(params scoped ReadOnlySpan<nint> startIndexes) => Slice(startIndexes); 463TensorSpan<T> ITensor<TensorSpan<T>, T>.AsTensorSpan(params scoped ReadOnlySpan<NIndex> startIndexes) => Slice(startIndexes); 465TensorSpan<T> ITensor<TensorSpan<T>, T>.AsTensorSpan(params scoped ReadOnlySpan<NRange> ranges) => Slice(ranges);