Top
Back: setNmzExecPath
Forward: readNmzData
FastBack: normal_lib
FastForward: pointid_lib
Up: normaliz_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.4.15.15 writeNmzData

Procedure from library normaliz.lib (see normaliz_lib).

Usage:
writeNmzData(intmat M, int mode);

Create:
Creates an input file for Normaliz from the matrix M. The second parameter sets the mode. How the matrix is interpreted depends on the mode. See the Normaliz documentation for more information.

Note:
Needs an explicit filename set. The filename is created from the current filename and the suffix given to the function.
Note that all functions in normaliz.lib write and read their data automatically to and from the hard disk so that writeNmzData will hardly ever be used explicitly.

Example:
 
LIB "normaliz.lib";
setNmzFilename("VeryInteresting");
intmat sgr[3][3]=1,2,3,4,5,6,7,8,10;
writeNmzData(sgr,1);
int dummy=system("sh","cat VeryInteresting.in");
==> 3
==> 3
==> 1 2 3 
==> 4 5 6 
==> 7 8 10 
==> 1
See also: readNmzData; rmNmzFiles; setNmzDataPath; setNmzFilename.


Top Back: setNmzExecPath Forward: readNmzData FastBack: normal_lib FastForward: pointid_lib Up: normaliz_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-2, Oct 2010, generated by texi2html.