00001 /* ========================================================================== */ 00002 /* === umfpack_save_numeric ================================================= */ 00003 /* ========================================================================== */ 00004 00005 /* -------------------------------------------------------------------------- */ 00006 /* UMFPACK Version 4.3 (Jan. 16, 2004), Copyright (c) 2004 by Timothy A. */ 00007 /* Davis. All Rights Reserved. See ../README for License. */ 00008 /* email: davis@cise.ufl.edu CISE Department, Univ. of Florida. */ 00009 /* web: http://www.cise.ufl.edu/research/sparse/umfpack */ 00010 /* -------------------------------------------------------------------------- */ 00011 00012 int umfpack_di_save_numeric 00013 ( 00014 void *Numeric, 00015 char *filename 00016 ) ; 00017 00018 long umfpack_dl_save_numeric 00019 ( 00020 void *Numeric, 00021 char *filename 00022 ) ; 00023 00024 int umfpack_zi_save_numeric 00025 ( 00026 void *Numeric, 00027 char *filename 00028 ) ; 00029 00030 long umfpack_zl_save_numeric 00031 ( 00032 void *Numeric, 00033 char *filename 00034 ) ; 00035 00036 /* 00037 double int Syntax: 00038 00039 #include "umfpack.h" 00040 int status ; 00041 char *filename ; 00042 void *Numeric ; 00043 status = umfpack_di_save_numeric (Numeric, filename) ; 00044 00045 double long Syntax: 00046 00047 #include "umfpack.h" 00048 long status ; 00049 char *filename ; 00050 void *Numeric ; 00051 status = umfpack_dl_save_numeric (Numeric, filename) ; 00052 00053 complex int Syntax: 00054 00055 #include "umfpack.h" 00056 int status ; 00057 char *filename ; 00058 void *Numeric ; 00059 status = umfpack_zi_save_numeric (Numeric, filename) ; 00060 00061 complex long Syntax: 00062 00063 #include "umfpack.h" 00064 long status ; 00065 char *filename ; 00066 void *Numeric ; 00067 status = umfpack_zl_save_numeric (Numeric, filename) ; 00068 00069 Purpose: 00070 00071 Saves a Numeric object to a file, which can later be read by 00072 umfpack_*_load_numeric. The Numeric object is not modified. You need 00073 to call umfpack_*_free_numeric if you to delete the Numeric object after 00074 saving it to a file. 00075 00076 Returns: 00077 00078 UMFPACK_OK if successful. 00079 UMFPACK_ERROR_invalid_Numeric_object if Numeric is not valid. 00080 UMFPACK_ERROR_file_IO if an I/O error occurred. 00081 00082 Arguments: 00083 00084 void *Numeric ; Input argument, not modified. 00085 00086 Numeric must point to a valid Numeric object, computed by 00087 umfpack_*_numeric or loaded by umfpack_*_load_numeric. 00088 00089 char *filename ; Input argument, not modified. 00090 00091 A string that contains the filename to which the Numeric 00092 object is written. 00093 */