#include "oct-spparms.h"
Public Member Functions | |
sparse_params (const sparse_params &)=default | |
~sparse_params (void)=default | |
sparse_params & | operator= (const sparse_params &)=default |
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 Array< double > &vals) |
static void | tight (void) |
Protected Member Functions | |
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 Array< double > &vals) |
void | do_tight (void) |
void | init_keys (void) |
Static Private Member Functions | |
static void | cleanup_instance (void) |
Private Attributes | |
string_vector | m_keys |
ColumnVector | m_params |
Static Private Attributes | |
static sparse_params * | s_instance = nullptr |
Definition at line 42 of file oct-spparms.h.
|
inlineprotected |
Definition at line 46 of file oct-spparms.h.
Referenced by instance_ok().
|
default |
|
default |
|
inlinestaticprivate |
Definition at line 90 of file oct-spparms.h.
Referenced by instance_ok().
|
static |
Definition at line 55 of file oct-spparms.cc.
References do_defaults(), instance_ok(), and s_instance.
Referenced by Fspparms().
|
private |
|
private |
|
private |
Definition at line 188 of file oct-spparms.cc.
References m_keys, m_params, NaN, and OCTAVE_SPARSE_CONTROLS_SIZE.
Referenced by get_key().
|
inlineprivate |
Definition at line 100 of file oct-spparms.h.
Referenced by get_keys().
|
inlineprivate |
Definition at line 102 of file oct-spparms.h.
Referenced by get_vals().
|
private |
Definition at line 199 of file oct-spparms.cc.
References m_keys, m_params, and OCTAVE_SPARSE_CONTROLS_SIZE.
Referenced by print_info().
|
private |
Definition at line 174 of file oct-spparms.cc.
References m_keys, m_params, and OCTAVE_SPARSE_CONTROLS_SIZE.
Referenced by set_key().
|
private |
Definition at line 160 of file oct-spparms.cc.
References len, m_params, Array< T, Alloc >::numel(), and OCTAVE_SPARSE_CONTROLS_SIZE.
Referenced by set_vals().
|
private |
|
static |
Definition at line 93 of file oct-spparms.cc.
References do_get_bandden(), instance_ok(), and s_instance.
|
static |
Definition at line 87 of file oct-spparms.cc.
References do_get_key(), instance_ok(), NaN, and s_instance.
Referenced by sparse_lu< lu_type >::sparse_lu(), Fspparms(), Fsymbfact(), and sparse_chol< chol_type >::sparse_chol_rep< chol_type >::init().
|
static |
Definition at line 67 of file oct-spparms.cc.
References do_get_keys(), instance_ok(), and s_instance.
Referenced by Fspparms().
|
static |
Definition at line 72 of file oct-spparms.cc.
References ColumnVector, do_get_vals(), instance_ok(), and s_instance.
Referenced by Fspparms().
|
private |
Definition at line 138 of file oct-spparms.cc.
References m_keys.
|
static |
Definition at line 42 of file oct-spparms.cc.
References sparse_params(), singleton_cleanup_list::add(), cleanup_instance(), and s_instance.
Referenced by defaults(), get_bandden(), get_key(), get_keys(), get_vals(), print_info(), set_key(), set_vals(), and tight().
|
default |
|
static |
Definition at line 98 of file oct-spparms.cc.
References do_print_info(), instance_ok(), and s_instance.
Referenced by Fspparms().
|
static |
Definition at line 82 of file oct-spparms.cc.
References do_set_key(), instance_ok(), and s_instance.
Referenced by Fspparms().
|
static |
Definition at line 77 of file oct-spparms.cc.
References do_set_vals(), instance_ok(), and s_instance.
Referenced by Fspparms().
|
static |
Definition at line 61 of file oct-spparms.cc.
References do_tight(), instance_ok(), and s_instance.
Referenced by Fspparms().
|
private |
Definition at line 86 of file oct-spparms.h.
Referenced by do_get_key(), do_print_info(), do_set_key(), and init_keys().
|
private |
Definition at line 84 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().
|
staticprivate |
Definition at line 88 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().