
viff2mat(1)                  Khoros                   viff2mat(1)

PROGRAM
     viff2mat - viff2mat - outputs a matrix in desired form.

SYNTAX
     viff2mat

     -i             input file (image file)

     -o             resulting output file (matrix file)

     [-e]           number of elements per line

     [-s]           field size

     [-m]           number of fractional digits

     [-j]           justification (0 = right, 1 = left)

     [-b]           bracket type (0 = square, 1 = triangular)

     [-d]           element delimiter (0 = space, 1 = comma)

     [-f]           element format(0 - integer, 1 - floating
                    point, 2 - scientific notation:
                    0 (integer ),
                    1 (floating point ),
                    or 2 (scientific notation)
                       [default = 2]

     [-V]           Gives the version for viff2mat

     [-U]           Gives the usage for viff2mat

     [-P]           Prompts for command line options

     [-A [file1]]   Creates the answer file called viff2mat.ans
                    or file1

     [-a [file1]]   Uses viff2mat.ans or file1 as the answer file

DESCRIPTION
     viff2mat This routine takes an input file containing a
     matrix and creates a control string specified by the user
     with the style options. It then calls lviff2mat using the
     generated control string and lviff2mat prints out the matix
     to the specified file in the correct format.

REQUIRED ARGUMENTS
     -i     type: infile
            desc: input file (image file)

     -o     type: outfile
            desc: resulting output file (matrix file)

OPTIONAL ARGUMENTS
     -e     type: integer
            desc: number of elements per line
            default: 6
            bounds: value > 0

     -s     type: integer
            desc: field size
            default: 10
            bounds: value > 0

     -m     type: integer
            desc: number of fractional digits
            default: 6
            bounds: value >= 0

     -j     type: boolean
            desc: justification (0 = right, 1 = left)
            default: true

     -b     type: boolean
            desc: bracket type (0 = square, 1 = triangular)
            default: false

     -d     type: boolean
            desc: element delimiter (0 = space, 1 = comma)
            default: false

     -f     type: integer
            desc: element format(0 - integer, 1 - floating point,
            2 - scientific notation
            allowed values:
            0 (integer ),
            1 (floating point ),
            or 2 (scientific notation)

EXAMPLES
     viff2mat -i infile -j justification -f format_style -d del-
     imiter -b bracket_type
      -s field_size -m frac_size -e #elements_per_line -o outfile

     the matrix in infile will be written with the specified for-
     mat and it will be placed into outfile.

SEE ALSO
     intro(1), verror(3), vgparms(3), vutils(3), lviff2mat(3)

RESTRICTIONS
COPYRIGHT
     Copyright 1991, University of New Mexico.  All rights
     reserved.

Khoros                    Release: 1.0                          1

