# MatOption

Options that may be set for a matrix and its behavior or storage

### Synopsis

    typedef enum {MAT_ROW_ORIENTED,MAT_COLUMN_ORIENTED,MAT_ROWS_SORTED,
    /*3-4*/       MAT_COLUMNS_SORTED,MAT_NO_NEW_NONZERO_LOCATIONS,
    /*5-6*/       MAT_YES_NEW_NONZERO_LOCATIONS,MAT_SYMMETRIC,
    /*7-8*/       MAT_STRUCTURALLY_SYMMETRIC,MAT_NO_NEW_DIAGONALS,
    /*9-10*/      MAT_YES_NEW_DIAGONALS,MAT_INODE_LIMIT_1,
    /*11-13*/     MAT_INODE_LIMIT_2,MAT_INODE_LIMIT_3,MAT_INODE_LIMIT_4,
    /*14-15*/     MAT_INODE_LIMIT_5,MAT_IGNORE_OFF_PROC_ENTRIES,
    /*16-17*/     MAT_ROWS_UNSORTED,MAT_COLUMNS_UNSORTED,
    /*18*/        MAT_NEW_NONZERO_LOCATION_ERR,
    /*19-20*/     MAT_NEW_NONZERO_ALLOCATION_ERR,MAT_USE_HASH_TABLE,
    /*21-22*/     MAT_KEEP_ZEROED_ROWS,MAT_IGNORE_ZERO_ENTRIES,
                  MAT_USE_INODES,MAT_DO_NOT_USE_INODES,
    /*25-26*/     MAT_NOT_SYMMETRIC,MAT_HERMITIAN,
                  MAT_NOT_STRUCTURALLY_SYMMETRIC,MAT_NOT_HERMITIAN,
    /*29-30*/     MAT_SYMMETRY_ETERNAL,MAT_NOT_SYMMETRY_ETERNAL,
                  MAT_USE_COMPRESSEDROW,MAT_DO_NOT_USE_COMPRESSEDROW,
    /*33-34*/     MAT_IGNORE_LOWER_TRIANGULAR,MAT_ERROR_LOWER_TRIANGULAR,
                  MAT_GETROW_UPPERTRIANGULAR} MatOption;

Any additions/changes here MUST also be made in include/finclude/petscmat.h

### See Also

MatSetOption()

Level:beginner
Location: src/mat/../../include/petscmat.h
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages