Mercurial > hg > octave-lyh
view liboctave/oct-sparse.h.in @ 5506:b4cfbb0ec8c4
[project @ 2005-10-23 19:09:32 by dbateman]
author | dbateman |
---|---|
date | Sun, 23 Oct 2005 19:09:33 +0000 |
parents | ed08548b9054 |
children |
line wrap: on
line source
/* Copyright (C) 2005 David Bateman This file is part of Octave. Octave is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. Octave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Octave; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #if !defined (oct_sparse_h) #define oct_sparse_h 1 #ifdef HAVE_CONFIG_H #include <config.h> #endif #ifdef __cplusplus extern "C" { #endif #ifdef HAVE_UMFPACK /* External UMFPACK functions in C */ #include <@UMFPACK_INCLUDE@> #endif #ifdef HAVE_COLAMD /* External COLAMD functions in C */ #include <@COLAMD_INCLUDE@> #endif #ifdef HAVE_CCOLAMD /* External COLAMD functions in C */ #include <@CCOLAMD_INCLUDE@> #endif #ifdef HAVE_METIS /* External METIS functions in C */ #include <@METIS_INCLUDE@> #endif #ifdef HAVE_CHOLMOD /* External CHOLMOD functions in C */ #include <@CHOLMOD_INCLUDE@> #ifndef FALSE #define FALSE 0 #endif #ifndef TRUE #define TRUE 1 #endif #ifdef IDX_TYPE_LONG #define CHOLMOD_NAME(name) cholmod_l_ ## name #else #define CHOLMOD_NAME(name) cholmod_ ## name #endif #endif #ifdef __cplusplus } #endif #endif