GNU Octave  9.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"

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_idx_typeto_octave_idx_type_ptr (const suitesparse_integer *i)
 
octave_idx_typeto_octave_idx_type_ptr (suitesparse_integer *i)
 
const suitesparse_integerto_suitesparse_intptr (const octave_idx_type *i)
 
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.

◆ from_suitesparse_long()

octave_idx_type from_suitesparse_long ( SuiteSparse_long  x)
inline

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

References max(), min(), and x.

Referenced by sparse_chol< chol_type >::L().

◆ to_octave_idx_type_ptr() [1/2]

const octave_idx_type* to_octave_idx_type_ptr ( const suitesparse_integer i)

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

◆ to_octave_idx_type_ptr() [2/2]

octave_idx_type* to_octave_idx_type_ptr ( suitesparse_integer i)

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

Referenced by dmsolve().

◆ to_suitesparse_intptr() [1/2]

const suitesparse_integer* to_suitesparse_intptr ( const octave_idx_type i)

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

◆ to_suitesparse_intptr() [2/2]