GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-sparse.h File Reference
#include "octave-config.h"
#include <limits>
#include "dSparse.h"
#include "CSparse.h"
Include dependency graph for oct-sparse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CCOLAMD_NAME(name)   ccolamd ## name
 
#define CHOLMOD_NAME(name)   cholmod_ ## name
 
#define CSYMAMD_NAME(name)   csymamd ## name
 
#define CXSPARSE_DNAME(name)   cs_di ## name
 
#define CXSPARSE_ZNAME(name)   cs_ci ## name
 
#define UMFPACK_DNAME(name)   umfpack_di_ ## name
 
#define UMFPACK_ZNAME(name)   umfpack_zi_ ## name
 

Typedefs

typedef int suitesparse_integer
 

Functions

octave_idx_type from_size_t (std::size_t x)
 
octave_idx_type from_suitesparse_long (SuiteSparse_long x)
 
const OCTAVE_API octave_idx_typeto_octave_idx_type_ptr (const suitesparse_integer *i)
 
OCTAVE_API octave_idx_typeto_octave_idx_type_ptr (suitesparse_integer *i)
 
const OCTAVE_API suitesparse_integerto_suitesparse_intptr (const octave_idx_type *i)
 
OCTAVE_API suitesparse_integerto_suitesparse_intptr (octave_idx_type *i)
 

Macro Definition Documentation

◆ CCOLAMD_NAME

#define CCOLAMD_NAME (   name)    ccolamd ## name

Definition at line 131 of file oct-sparse.h.

◆ CHOLMOD_NAME

#define CHOLMOD_NAME (   name)    cholmod_ ## name

Definition at line 140 of file oct-sparse.h.

◆ CSYMAMD_NAME

#define CSYMAMD_NAME (   name)    csymamd ## name

Definition at line 132 of file oct-sparse.h.

◆ CXSPARSE_DNAME

#define CXSPARSE_DNAME (   name)    cs_di ## name

Definition at line 159 of file oct-sparse.h.

◆ CXSPARSE_ZNAME

#define CXSPARSE_ZNAME (   name)    cs_ci ## name

Definition at line 160 of file oct-sparse.h.

◆ UMFPACK_DNAME

#define UMFPACK_DNAME (   name)    umfpack_di_ ## name

Definition at line 169 of file oct-sparse.h.

◆ UMFPACK_ZNAME

#define UMFPACK_ZNAME (   name)    umfpack_zi_ ## name

Definition at line 170 of file oct-sparse.h.

Typedef Documentation

◆ suitesparse_integer

typedef int suitesparse_integer

Definition at line 184 of file oct-sparse.h.

Function Documentation

◆ from_size_t()

octave_idx_type from_size_t ( std::size_t  x)
inline

Definition at line 211 of file oct-sparse.h.

References max(), and x.

Referenced by sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::R().

◆ from_suitesparse_long()

◆ to_octave_idx_type_ptr() [1/2]

const OCTAVE_API octave_idx_type* to_octave_idx_type_ptr ( const suitesparse_integer i)

Definition at line 75 of file oct-sparse.cc.

References check_suitesparse_integer_size().

◆ to_octave_idx_type_ptr() [2/2]

OCTAVE_API octave_idx_type* to_octave_idx_type_ptr ( suitesparse_integer i)

Definition at line 67 of file oct-sparse.cc.

References check_suitesparse_integer_size().

Referenced by dmsolve().

◆ to_suitesparse_intptr() [1/2]

const OCTAVE_API suitesparse_integer* to_suitesparse_intptr ( const octave_idx_type i)

Definition at line 59 of file oct-sparse.cc.

References check_suitesparse_integer_size().

◆ to_suitesparse_intptr() [2/2]