26 #if defined (HAVE_CONFIG_H)
42 #if defined (HAVE_CHOLMOD)
46 if (status != CHOLMOD_NOT_POSDEF)
47 (*current_liboctave_warning_with_id_handler)
48 (
"Octave:cholmod-message",
"warning %i, at line %i in file %s: %s",
53 octave_unused_parameter (status);
54 octave_unused_parameter (file);
55 octave_unused_parameter (
line);
56 octave_unused_parameter (
message);
80 int ret = std::vfprintf (stderr, fmt, args);
94 (*current_liboctave_error_handler)
95 (
"invalid sparse matrix: cidx[0] must be zero");
102 (*current_liboctave_error_handler)
103 (
"invalid sparse matrix: cidx elements must appear in ascending order");
106 (*current_liboctave_error_handler)
107 (
"invalid sparse matrix: cidx[%" OCTAVE_IDX_TYPE_FORMAT
"] = "
108 "%" OCTAVE_IDX_TYPE_FORMAT
" exceeds number of nonzero elements",
116 (*current_liboctave_error_handler)
117 (
"invalid sparse matrix: ridx elements must appear "
118 "in ascending order for each column");
121 (*current_liboctave_error_handler)
122 (
"invalid sparse matrix: ridx[%" OCTAVE_IDX_TYPE_FORMAT
123 "] = %" OCTAVE_IDX_TYPE_FORMAT
" out of range",
void message(const char *name, const char *fmt,...)
bool sparse_indices_ok(octave_idx_type *r, octave_idx_type *c, octave_idx_type nrows, octave_idx_type ncols, octave_idx_type nnz)
static void sparse_chol_error_internal(int status, const char *file, int line, const char *message)
void SparseCholError(int status, char *file, int line, char *message)
int SparseCholPrint(const char *fmt,...)