Click or drag to resize
DataSegmentT Class
Represents a segment of a series or sequence. The value is returned from various functions that aggregate data into chunks or floating windows. The `Complete` case represents complete segment (e.g. of the specified size) and `Boundary` represents segment at the boundary (e.g. smaller than the required size). ## Example For example (using internal `windowed` function): open Deedle.Internal Seq.windowedWithBounds 3 Boundary.AtBeginning [ 1; 2; 3; 4 ] [fsi: [| DataSegment(Incomplete, [| 1 |]) ] [fsi: DataSegment(Incomplete, [| 1; 2 |]) ] [fsi: DataSegment(Complete [| 1; 2; 3 |]) ] [fsi: DataSegment(Complete [| 2; 3; 4 |]) |] ] If you do not need to distinguish the two cases, you can use the `Data` property to get the array representing the segment data. [category:Parameters and results of various operations]
Inheritance Hierarchy
SystemObject
  DeedleDataSegmentT

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
[SerializableAttribute]
public sealed class DataSegment<T> : IEquatable<DataSegment<T>>, 
	IStructuralEquatable, IComparable<DataSegment<T>>, IComparable, IStructuralComparable

Type Parameters

T

The DataSegmentT type exposes the following members.

Properties
  NameDescription
Public propertyData
Returns the data associated with the segment (for boundary segment, this may be smaller than the required window size)
Public propertyItem1
Public propertyItem2
Public propertyKind
Return the kind of this segment
Public propertyTag
Top
Methods
See Also