#include "oct-spparms.h"
Public Member Functions | |
octave_sparse_params (const octave_sparse_params &a) | |
~octave_sparse_params (void)=default | |
octave_sparse_params & | operator= (const octave_sparse_params &a) |
Static Public Member Functions | |
static void | defaults (void) |
static double | get_bandden (void) |
static double | get_key (const std::string &key) |
static string_vector | get_keys (void) |
static ColumnVector | get_vals (void) |
static bool | instance_ok (void) |
static void | print_info (std::ostream &os, const std::string &prefix) |
static bool | set_key (const std::string &key, const double &val) |
static bool | set_vals (const NDArray &vals) |
static void | tight (void) |
Protected Member Functions | |
octave_sparse_params (void) | |
Private Member Functions | |
void | do_defaults (void) |
double | do_get_bandden (void) |
double | do_get_key (const std::string &key) |
string_vector | do_get_keys (void) const |
ColumnVector | do_get_vals (void) const |
void | do_print_info (std::ostream &os, const std::string &prefix) const |
bool | do_set_key (const std::string &key, const double &val) |
bool | do_set_vals (const NDArray &vals) |
void | do_tight (void) |
void | init_keys (void) |
Static Private Member Functions | |
static void | cleanup_instance (void) |
Private Attributes | |
string_vector | keys |
ColumnVector | params |
Static Private Attributes | |
static octave_sparse_params * | instance = nullptr |
Definition at line 39 of file oct-spparms.h.
|
inlineprotected |
Definition at line 45 of file oct-spparms.h.
Referenced by instance_ok().
|
inline |
Definition at line 55 of file oct-spparms.h.
|
default |
|
inlinestaticprivate |
Definition at line 99 of file oct-spparms.h.
Referenced by instance_ok().
|
static |
Definition at line 59 of file oct-spparms.cc.
References do_defaults(), instance, and instance_ok().
Referenced by Fspparms().
|
private |
|
private |
|
private |
Definition at line 207 of file oct-spparms.cc.
References i, keys, NaN(), OCTAVE_SPARSE_CONTROLS_SIZE, and params.
Referenced by get_key().
|
inlineprivate |
Definition at line 105 of file oct-spparms.h.
Referenced by get_keys().
|
inlineprivate |
Definition at line 107 of file oct-spparms.h.
Referenced by get_vals().
|
private |
Definition at line 219 of file oct-spparms.cc.
References i, keys, OCTAVE_SPARSE_CONTROLS_SIZE, os, and params.
Referenced by print_info().
|
private |
Definition at line 192 of file oct-spparms.cc.
References i, keys, OCTAVE_SPARSE_CONTROLS_SIZE, params, and val.
Referenced by set_key().
Definition at line 177 of file oct-spparms.cc.
References i, Array< T >::numel(), OCTAVE_SPARSE_CONTROLS_SIZE, and params.
Referenced by set_vals().
|
private |
|
static |
Definition at line 104 of file oct-spparms.cc.
References do_get_bandden(), instance, and instance_ok().
Referenced by MatrixType::MatrixType(), and MatrixType::type().
|
static |
Definition at line 97 of file oct-spparms.cc.
References do_get_key(), instance, instance_ok(), and NaN().
Referenced by SparseMatrix::determinant(), SparseComplexMatrix::determinant(), SparseMatrix::factorize(), SparseComplexMatrix::factorize(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), Fspparms(), Gsymbfact(), MatrixType::info(), octave::math::sparse_chol< chol_type >::sparse_chol_rep< chol_type >::init(), MatrixType::MatrixType(), octave::math::sparse_lu< lu_type >::sparse_lu(), and MatrixType::type().
|
static |
Definition at line 73 of file oct-spparms.cc.
References do_get_keys(), instance, and instance_ok().
Referenced by Fspparms().
|
static |
Definition at line 79 of file oct-spparms.cc.
References do_get_vals(), instance, and instance_ok().
Referenced by Fspparms().
|
private |
Definition at line 153 of file oct-spparms.cc.
References keys.
|
static |
Definition at line 39 of file oct-spparms.cc.
References singleton_cleanup_list::add(), cleanup_instance(), instance, octave_sparse_params(), and retval.
Referenced by defaults(), get_bandden(), get_key(), get_keys(), get_vals(), print_info(), set_key(), set_vals(), and tight().
|
inline |
Definition at line 58 of file oct-spparms.h.
References a.
|
static |
Definition at line 110 of file oct-spparms.cc.
References do_print_info(), instance, instance_ok(), and os.
Referenced by Fspparms().
|
static |
Definition at line 91 of file oct-spparms.cc.
References do_set_key(), instance, instance_ok(), and val.
Referenced by Fspparms().
Definition at line 85 of file oct-spparms.cc.
References do_set_vals(), instance, and instance_ok().
Referenced by Fspparms().
|
static |
Definition at line 66 of file oct-spparms.cc.
References do_tight(), instance, and instance_ok().
Referenced by Fspparms().
|
staticprivate |
Definition at line 97 of file oct-spparms.h.
Referenced by defaults(), get_bandden(), get_key(), get_keys(), get_vals(), instance_ok(), print_info(), set_key(), set_vals(), and tight().
|
private |
Definition at line 95 of file oct-spparms.h.
Referenced by do_get_key(), do_print_info(), do_set_key(), and init_keys().
|
private |
Definition at line 93 of file oct-spparms.h.
Referenced by do_defaults(), do_get_bandden(), do_get_key(), do_print_info(), do_set_key(), do_set_vals(), and do_tight().