GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sparse-util.cc File Reference
#include <cinttypes>
#include <cstdarg>
#include <cstdio>
#include "lo-error.h"
#include "oct-sparse.h"
#include "sparse-util.h"
Include dependency graph for sparse-util.cc:

Go to the source code of this file.

Functions

static void sparse_chol_error_internal (int status, const char *file, int line, const 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 SparseCholError (int status, char *file, int line, char *message)
 
void SparseCholError (int status, const char *file, int line, const char *message)
 
int SparseCholPrint (const char *fmt,...)
 

Function Documentation

◆ sparse_chol_error_internal()

static void sparse_chol_error_internal ( int  status,
const char *  file,
int  line,
const char *  message 
)
inlinestatic

Definition at line 39 of file sparse-util.cc.

References message().

Referenced by SparseCholError().

◆ sparse_indices_ok()

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 at line 87 of file sparse-util.cc.

References r.

Referenced by Sparse< T >::SparseRep::any_element_is_nan().

◆ SparseCholError() [1/2]

void SparseCholError ( int  status,
char *  file,
int  line,
char *  message 
)

◆ SparseCholError() [2/2]

void SparseCholError ( int  status,
const char *  file,
int  line,
const char *  message 
)

Definition at line 70 of file sparse-util.cc.

References message(), and sparse_chol_error_internal().

◆ SparseCholPrint()

int SparseCholPrint ( const char *  fmt,
  ... 
)