50 if (status != CHOLMOD_NOT_POSDEF)
51 (*current_liboctave_warning_with_id_handler)
52 (
"Octave:cholmod-message",
"warning %i, at line %i in file %s: %s",
61 int ret = gnulib::vfprintf (stderr, fmt, args);
62 gnulib::fflush (stderr);
78 (*current_liboctave_error_handler)
79 (
"invalid sparse matrix: cidx[0] must be zero");
89 (*current_liboctave_error_handler)
90 (
"invalid sparse matrix: cidx elements must appear in ascending order");
96 (*current_liboctave_error_handler)
97 (
"invalid sparse matrix: cidx[%d] = %d exceeds number of nonzero elements",
108 (*current_liboctave_error_handler)
109 (
"invalid sparse matrix: ridx elements must appear in ascending order for each column");
115 (*current_liboctave_error_handler)
116 (
"invalid sparse matrix: ridx[%d] = %d out of range",
void SparseCholError(int status, char *file, int line, char *message)
bool sparse_indices_ok(octave_idx_type *r, octave_idx_type *c, octave_idx_type nrows, octave_idx_type ncols, octave_idx_type nnz)
void message(const char *name, const char *fmt,...)
int SparseCholPrint(const char *fmt,...)