Click or drag to resize

IndexArray Class

Class IndexArray presents 0-based indexices to the user, but uses 1-based indices internally.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreIndexArray

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
[SerializableAttribute]
public class IndexArray : ICloneable

The IndexArray type exposes the following members.

Constructors
  NameDescription
Public methodIndexArray
Constructs an empty index array instance.
Public methodIndexArray(Int32)
Constructs an IndexArray instance with the given length. All index values are initialized to zero.
Public methodIndexArray(Int32)
Constructs an IndexArray instance with the given unique Indices.
Top
Properties
  NameDescription
Public propertyItem
Gets the index at the ith position.
Public propertyLength
Gets the length of the index array.
Top
Methods
  NameDescription
Public methodClone
Creates a deep copy of this index array.
Public methodContainsDuplicates
Determines if the index array contains duplicate values.
Public methodExists
Determines if the given index exists is self.
Public methodFindIndex(Int32)
Searches for the given value in the index array.
Public methodFindIndex(Int32, Int32)
Searches for the given index from the given start index for the given value.
Public methodGetHashCode
Get the hash code for this index array.
(Overrides ObjectGetHashCode.)
Top
Operators
See Also