The unit DataTable implements an often needed data structure when working with measurement data. It combines a rectangular numeric matrix with additional information, such as row and column names, cell states, or attributes.
The numeric matrix is inherited from TMatrix, thus all mathematical methods of TMatrix can be used for the data table as well. In addition to the row and column names, each row and each column of the data table provides an 8-bit user-defined attribute which can be used, for example to introduce additional classification of the row entries. Besides an arbitrary comment which is assigned to the entire data table, each numeric cell is described by an 8-bit state flag, which can be used by the programmer to indicate any user-defined state of the cell.
More details can be found in the online help pages. The unit DataTable is part of the SDL Component Suite.
What's new:
- Release 9.0 [May-28, 2007]
- new constants csAll, csNone, and csUser1..csUser4 defined to reflect predefined cell states
- new functions CountMarkedCellsInColumn and CountMarkedCellsInRow count marked cells
- new overloaded method ImportASC allows to read from clipboard
- bug fix: ImportASC now does not crash if data is imported from stream and number of columns is reduced
- Release 8.5 [Feb-18, 2006]
- ExportAsASC (DataTable): default width of exported data is now 12 characters
- optimized resizing of the data table
- several new methods to calculate statistical parameters of the numeric cells only: MeanVarOfNumCells, QuartilesOfNumCells, MinMaxOfNumCells, PercentileOfNumCells, GeometricMeanOfNumCells, HarmonicMeanOfNumCells, CountNumCells, SumOfNumCells, StandardizeNumCellColumns, StandardizeNumCellRows
- Release 8.2 [Nov-03, 2004]
- no changes
- Release 8.1 [Aug-29, 2004]
- available for Delphi™ 8 for .NET
- Release 8.0 [Apr-01, 2004]
- DataTable is now available to the publis and part of MathPack
