Description | Hierarchy | Fields | Methods | Properties |
type T2DSparseRealArray = class(T2DSparsePointerArray)
T2DSparseRealArray
acts like a 2D array of real numbers. It provides constant time access to its elements through the its Items property. However, when many of the elements are unassigned, it can use much less memory than an array.
![]() |
FCount: NativeInt; |
![]() |
FValues: array of double; |
![]() |
function GetItems(const Index1, Index2: NativeInt): double; |
![]() |
procedure SetItems(const Index1, Index2: NativeInt; const Value: double); |
![]() |
procedure Clear; override; |
![]() |
constructor Create(Quantum: TSPAQuantum); |
![]() |
property Items[constIndex1,Index2:NativeInt]: double read GetItems
write SetItems; |
![]() |
FCount: NativeInt; |
|
![]() |
FValues: array of double; |
|
![]() |
function GetItems(const Index1, Index2: NativeInt): double; |
See Items. |
![]() |
procedure SetItems(const Index1, Index2: NativeInt; const Value: double); |
See Items. |
![]() |
procedure Clear; override; |
|
![]() |
constructor Create(Quantum: TSPAQuantum); |
|
![]() |
property Items[constIndex1,Index2:NativeInt]: double read GetItems
write SetItems; |
|