WriteCM:

Path: Common/Interface

% Write a matrix for use in a C or C++ program.
--------------------------------------------------------------------------
   Form:
   WriteCM( fID, matName, m, x, nD, nT, nPR )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   fID                      File id
   matName                  Name of matrix for comment in C code
   m                        Name of matrix for C code
   x                        The matrix
   nD                       Number of decimal places
   nT                       Number of characters total
   nPR                      Number per row (default is 3 for
                            matrices and 1 for vectors);

   -------
   Outputs
   -------
   none

--------------------------------------------------------------------------

Back to the Common Module page