Mercurial > octave-nkf
comparison liboctave/UMFPACK/UMFPACK/Include/umfpack_load_numeric.h @ 5164:57077d0ddc8e
[project @ 2005-02-25 19:55:24 by jwe]
author | jwe |
---|---|
date | Fri, 25 Feb 2005 19:55:28 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5163:9f3299378193 | 5164:57077d0ddc8e |
---|---|
1 /* ========================================================================== */ | |
2 /* === umfpack_load_numeric ================================================= */ | |
3 /* ========================================================================== */ | |
4 | |
5 /* -------------------------------------------------------------------------- */ | |
6 /* UMFPACK Version 4.4, Copyright (c) 2005 by Timothy A. Davis. CISE Dept, */ | |
7 /* Univ. of Florida. All Rights Reserved. See ../Doc/License for License. */ | |
8 /* web: http://www.cise.ufl.edu/research/sparse/umfpack */ | |
9 /* -------------------------------------------------------------------------- */ | |
10 | |
11 int umfpack_di_load_numeric | |
12 ( | |
13 void **Numeric, | |
14 char *filename | |
15 ) ; | |
16 | |
17 long umfpack_dl_load_numeric | |
18 ( | |
19 void **Numeric, | |
20 char *filename | |
21 ) ; | |
22 | |
23 int umfpack_zi_load_numeric | |
24 ( | |
25 void **Numeric, | |
26 char *filename | |
27 ) ; | |
28 | |
29 long umfpack_zl_load_numeric | |
30 ( | |
31 void **Numeric, | |
32 char *filename | |
33 ) ; | |
34 | |
35 /* | |
36 double int Syntax: | |
37 | |
38 #include "umfpack.h" | |
39 int status ; | |
40 char *filename ; | |
41 void *Numeric ; | |
42 status = umfpack_di_load_numeric (&Numeric, filename) ; | |
43 | |
44 double long Syntax: | |
45 | |
46 #include "umfpack.h" | |
47 long status ; | |
48 char *filename ; | |
49 void *Numeric ; | |
50 status = umfpack_dl_load_numeric (&Numeric, filename) ; | |
51 | |
52 complex int Syntax: | |
53 | |
54 #include "umfpack.h" | |
55 int status ; | |
56 char *filename ; | |
57 void *Numeric ; | |
58 status = umfpack_zi_load_numeric (&Numeric, filename) ; | |
59 | |
60 complex long Syntax: | |
61 | |
62 #include "umfpack.h" | |
63 long status ; | |
64 char *filename ; | |
65 void *Numeric ; | |
66 status = umfpack_zl_load_numeric (&Numeric, filename) ; | |
67 | |
68 Purpose: | |
69 | |
70 Loads a Numeric object from a file created by umfpack_*_save_numeric. The | |
71 Numeric handle passed to this routine is overwritten with the new object. | |
72 If that object exists prior to calling this routine, a memory leak will | |
73 occur. The contents of Numeric are ignored on input. | |
74 | |
75 Returns: | |
76 | |
77 UMFPACK_OK if successful. | |
78 UMFPACK_ERROR_out_of_memory if not enough memory is available. | |
79 UMFPACK_ERROR_file_IO if an I/O error occurred. | |
80 | |
81 Arguments: | |
82 | |
83 void **Numeric ; Output argument. | |
84 | |
85 **Numeric is the address of a (void *) pointer variable in the user's | |
86 calling routine (see Syntax, above). On input, the contents of this | |
87 variable are not defined. On output, this variable holds a (void *) | |
88 pointer to the Numeric object (if successful), or (void *) NULL if | |
89 a failure occurred. | |
90 | |
91 char *filename ; Input argument, not modified. | |
92 | |
93 A string that contains the filename from which to read the Numeric | |
94 object. | |
95 */ |