The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home MathPack Matrix Classes TIntMatrix, TMatrix and TMat3D Methods ExportAsASC | |||||||||
See also: Format of ASC data file, ImportASC, StoreOnFile (Matrix, IntMatrix) | |||||||||
ExportAsASC |
|||||||||
The method ExportAsASC writes the contents of the matrix along with all additional information (headers, etc.) to a readable ASCII text. The format of the text is the same as used by the method ImportASC. Version [2] additionally exports user-defined data which are stored in the parameter CustData. CustData has to be a two-column string array containing the name of a particular user item in the first column and its value in the second column. CustData can have any number of rows. The method returns the following error codes: 0 ... everything is OK The parameter Precision (in the case of TMatrix) specifies the number of decimal places to be used in the text file. Note that the numeric values of a table will be altered if the precision for exporting is too low. The parameter Comment contains an arbitrary one-line comment.
|