GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
sparse-util.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 2005-2015 David Bateman
4 Copyright (C) 1998-2005 Andy Adler
5 
6 This file is part of Octave.
7 
8 Octave is free software; you can redistribute it and/or modify it
9 under the terms of the GNU General Public License as published by the
10 Free Software Foundation; either version 3 of the License, or (at your
11 option) any later version.
12 
13 Octave is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 for more details.
17 
18 You should have received a copy of the GNU General Public License
19 along with Octave; see the file COPYING. If not, see
20 <http://www.gnu.org/licenses/>.
21 
22 */
23 
24 #if !defined (octave_sparse_util_h)
25 #define octave_sparse_util_h 1
26 
27 #ifdef HAVE_CHOLMOD
28 
29 // FIXME this overload is here due to API change in SuiteSparse (3.1 -> 3.2)
30 extern OCTAVE_API void SparseCholError (int status, char *file,
31  int line, char *message);
32 extern OCTAVE_API void SparseCholError (int status, const char *file,
33  int line, const char *message);
34 extern OCTAVE_API int SparseCholPrint (const char *fmt, ...);
35 
36 #endif //HAVE_CHOLMOD
37 
38 extern OCTAVE_API bool
40  octave_idx_type nrows, octave_idx_type ncols,
41  octave_idx_type nnz);
42 
43 #endif
OCTAVE_API void SparseCholError(int status, char *file, int line, char *message)
Definition: sparse-util.cc:39
void message(const char *name, const char *fmt,...)
Definition: error.cc:380
OCTAVE_API bool sparse_indices_ok(octave_idx_type *r, octave_idx_type *c, octave_idx_type nrows, octave_idx_type ncols, octave_idx_type nnz)
Definition: sparse-util.cc:70
OCTAVE_API int SparseCholPrint(const char *fmt,...)
Definition: sparse-util.cc:57