SCM

SCM Repository

[matrix] Diff of /pkg/Matrix/src/CHOLMOD/Include/cholmod_internal.h
ViewVC logotype

Diff of /pkg/Matrix/src/CHOLMOD/Include/cholmod_internal.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1515, Tue Sep 5 22:13:15 2006 UTC revision 1876, Tue Jun 5 16:53:04 2007 UTC
# Line 3  Line 3 
3  /* ========================================================================== */  /* ========================================================================== */
4    
5  /* -----------------------------------------------------------------------------  /* -----------------------------------------------------------------------------
6   * CHOLMOD/Include/cholmod_internal.h.  Version 1.2.   * CHOLMOD/Include/cholmod_internal.h.
7   * Copyright (C) 2005-2006, Univ. of Florida.  Author: Timothy A. Davis   * Copyright (C) 2005-2006, Univ. of Florida.  Author: Timothy A. Davis
8   * CHOLMOD/Include/cholmod_internal.h is licensed under Version 2.1 of the GNU   * CHOLMOD/Include/cholmod_internal.h is licensed under Version 2.1 of the GNU
9   * Lesser General Public License.  See lesser.txt for a text of the license.   * Lesser General Public License.  See lesser.txt for a text of the license.
# Line 33  Line 33 
33  #ifndef CHOLMOD_INTERNAL_H  #ifndef CHOLMOD_INTERNAL_H
34  #define CHOLMOD_INTERNAL_H  #define CHOLMOD_INTERNAL_H
35    
36    /* ========================================================================== */
37    /* === large file I/O ======================================================= */
38    /* ========================================================================== */
39    
40    /* Definitions for large file I/O must come before any other #includes.  If
41     * this causes problems (may not be portable to all platforms), then compile
42     * CHOLMOD with -DNLARGEFILE.  You must do this for MATLAB 6.5 and earlier,
43     * for example. */
44    
45    #include "cholmod_io64.h"
46    
47    /* ========================================================================== */
48    /* === debugging and basic includes ========================================= */
49    /* ========================================================================== */
50    
51  /* turn off debugging */  /* turn off debugging */
52  #ifndef NDEBUG  #ifndef NDEBUG
53  #define NDEBUG  #define NDEBUG
# Line 128  Line 143 
143  #define IS_GT_ZERO(x)   CHOLMOD_IS_GT_ZERO(x)  #define IS_GT_ZERO(x)   CHOLMOD_IS_GT_ZERO(x)
144  #define IS_LE_ZERO(x)   CHOLMOD_IS_LE_ZERO(x)  #define IS_LE_ZERO(x)   CHOLMOD_IS_LE_ZERO(x)
145    
146    /* 1e308 is a huge number that doesn't take many characters to print in a
147     * file, in CHOLMOD/Check/cholmod_read and _write.  Numbers larger than this
148     * are interpretted as Inf, since sscanf doesn't read in Inf's properly.
149     * This assumes IEEE double precision arithmetic.  DBL_MAX would be a little
150     * better, except that it takes too many digits to print in a file. */
151    #define HUGE_DOUBLE 1e308
152    
153  /* ========================================================================== */  /* ========================================================================== */
154  /* === int/UF_long and double/float definitions ============================= */  /* === int/UF_long and double/float definitions ============================= */
155  /* ========================================================================== */  /* ========================================================================== */
# Line 190  Line 212 
212  size_t cholmod_l_mult_size_t (size_t a, size_t k, int *ok) ;  size_t cholmod_l_mult_size_t (size_t a, size_t k, int *ok) ;
213    
214  /* -------------------------------------------------------------------------- */  /* -------------------------------------------------------------------------- */
215  /* double, UF_long */  /* double (also complex double), UF_long */
216  /* -------------------------------------------------------------------------- */  /* -------------------------------------------------------------------------- */
217    
218  #ifdef DLONG  #ifdef DLONG
# Line 233  Line 255 
255  #error "single-precision not yet supported"  #error "single-precision not yet supported"
256    
257  /* -------------------------------------------------------------------------- */  /* -------------------------------------------------------------------------- */
258  /* double, int: this is the default */  /* double (also complex double), int: this is the default */
259  /* -------------------------------------------------------------------------- */  /* -------------------------------------------------------------------------- */
260    
261  #else  #else

Legend:
Removed from v.1515  
changed lines
  Added in v.1876

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge