Struct ScalarArray

ScalarArray structure

Wraps an encoded Memory and exposes it as an IList.

public struct ScalarArray : IList<float>, IReadOnlyList<float>

Constructors

NameDescription
ScalarArray(Memory<byte>, int, EncodingType, bool)Initializes a new instance of the ScalarArray struct.
ScalarArray(Memory<byte>, int, int, int, EncodingType, bool)Initializes a new instance of the ScalarArray struct.

Properties

NameDescription
Count { get; }
Item { get; set; }

Methods

NameDescription
Contains(float)
CopyTo(float[], int)
Fill(IEnumerable<float>, int)
GetEnumerator()
IndexOf(float)

See Also