TABLE_IO
Table Files
Read and Write Utilities


TABLE_IO is a C++ library, using double precision arithmetic, which can read or write a TABLE file.

A TABLE file is a simple format for storing a double-indexed array of data. We regard this is a situation involving N points in M dimensions, with M relatively small (often just 2 or 3, but possibly 10 or 20) while N can be "enormous" (10, 100, 1,000 or 10,000).

To keep things simple, then, the data is written to an ASCII file, with optional comment lines (which must start with the '#' character) and blank lines (which are ignored). The point data is stored by writing the coordinates of each point on a separate line. No information about M or N is explicitly included in the file. It is up to the I/O program to determine this.

TABLE_IO supplies routines by which a TABLE file can easily be written or read. A typical write operation simply calls routine TABLE_WRITE. A typical read operation will probably first want to call TABLE_HEADER_READ to determine the values of M and N, and then allocate space for the table, and then call TABLE_DATA_READ to read the data.

Related Data and Programs:

TABLE is a file format used for the storage of table files.

TABLE_BORDER is a C++ program that can read a TABLE file and add zero entries corresponding to a single layer of boundary data.

TABLE_DELAUNAY is an executable C++ program that reads a file of 2d point coordinates and computes the Delaunay triangulation.

TABLE_DISCREPANCY is a C++ program that bounds the star discrepancy of a point set.

TABLE_IO is also available in a C version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version.

TABLE_LATINIZE is a C++ program that can read a TABLE file and write out a "latinized" version.

TABLE_QUALITY is a C++ program that can read a TABLE file and print out measures of the quality of dispersion of the points.

TABLE_READ is a MATLAB script that can read in a TABLE file.

TABLE_UNBORDER is a C++ program can be used to remove the border from a table file.

TABLE_VORONOI is a C++ program that can read a TABLE file describing a set of 2D points, and print out information describing the Voronoi diagram of those points.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the C++ source codes.


Last revised on 13 November 2006.