Class ParallelCursorArray<CursorType, ArrayType>
A multidimensional array of objects where each field is in a CursorArray.
Inheritance
ParallelCursorArray<CursorType, ArrayType>
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class ParallelCursorArray<CursorType, ArrayType> : ICursor, ICloneable, ICursorArray<CursorType>, IEnumerable<CursorType>, IEnumerable where ArrayType : ICursorArray
Type Parameters
Name |
Description |
CursorType |
|
ArrayType |
A cursor-based array type, such as CursorArray or ParallelCursorArray.
|
Examples
See CursorArrayTest.cs.
Constructors
ParallelCursorArray(CursorType, IList<ArrayType>)
Create a new ParallelCursorArray.
Declaration
public ParallelCursorArray(CursorType cursor, IList<ArrayType> members)
Parameters
Type |
Name |
Description |
CursorType |
cursor |
An object to use as the cursor.
|
IList<ArrayType> |
members |
A list of cursor-based arrays.
|
Fields
cursor
Declaration
protected CursorType cursor
Field Value
Type |
Description |
CursorType |
|
members
Declaration
protected IList<ArrayType> members
Field Value
Type |
Description |
IList<ArrayType> |
|
Properties
Count
Declaration
public int Count { get; }
Property Value
Item[Int32]
Declaration
public CursorType this[int index] { get; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Type |
Description |
CursorType |
|
Item[Int32[]]
Declaration
public CursorType this[params int[] index] { get; }
Parameters
Type |
Name |
Description |
Int32[] |
index |
|
Property Value
Type |
Description |
CursorType |
|
Lengths
Declaration
public IList<int> Lengths { get; }
Property Value
Rank
Declaration
Property Value
Start
Declaration
public int Start { get; set; }
Property Value
Methods
CheckMembers()
Declaration
protected void CheckMembers()
Clone()
Declaration
Returns
CreateSourceArray(Int32)
Declaration
public void CreateSourceArray(int nRecords)
Parameters
Type |
Name |
Description |
Int32 |
nRecords |
|
GetEnumerator()
Declaration
public IEnumerator<CursorType> GetEnumerator()
Returns
GetLength(Int32)
Declaration
public int GetLength(int dimension)
Parameters
Type |
Name |
Description |
Int32 |
dimension |
|
Returns
IsCompatibleWith(ICursorArray)
Declaration
public bool IsCompatibleWith(ICursorArray that)
Parameters
Returns
MoveTo(Int32)
Declaration
public void MoveTo(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
MoveTo(Int32[])
Declaration
public void MoveTo(params int[] index)
Parameters
Type |
Name |
Description |
Int32[] |
index |
|
ReferenceClone()
Declaration
public ICursor ReferenceClone()
Returns
Explicit Interface Implementations
ICursor.Count
Declaration
int ICursor.Count { get; }
Returns
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Implements
Extension Methods