#include "oct-spparms.h"
Public Member Functions | |
octave_sparse_params (const octave_sparse_params &a) | |
~octave_sparse_params (void) | |
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 = 0 |
Definition at line 38 of file oct-spparms.h.
octave_sparse_params::octave_sparse_params | ( | void | ) | [inline, protected] |
Definition at line 44 of file oct-spparms.h.
Referenced by instance_ok().
octave_sparse_params::octave_sparse_params | ( | const octave_sparse_params & | a | ) | [inline] |
Definition at line 54 of file oct-spparms.h.
octave_sparse_params::~octave_sparse_params | ( | void | ) | [inline] |
Definition at line 68 of file oct-spparms.h.
static void octave_sparse_params::cleanup_instance | ( | void | ) | [inline, static, private] |
Definition at line 98 of file oct-spparms.h.
Referenced by instance_ok().
void octave_sparse_params::defaults | ( | void | ) | [static] |
Definition at line 61 of file oct-spparms.cc.
References do_defaults(), instance, and instance_ok().
Referenced by DEFUN_DLD().
void octave_sparse_params::do_defaults | ( | void | ) | [private] |
double octave_sparse_params::do_get_bandden | ( | void | ) | [private] |
double octave_sparse_params::do_get_key | ( | const std::string & | key | ) | [private] |
Definition at line 214 of file oct-spparms.cc.
References keys, octave_NaN, and params.
Referenced by get_key().
string_vector octave_sparse_params::do_get_keys | ( | void | ) | const [inline, private] |
Definition at line 104 of file oct-spparms.h.
Referenced by get_keys().
ColumnVector octave_sparse_params::do_get_vals | ( | void | ) | const [inline, private] |
Definition at line 106 of file oct-spparms.h.
Referenced by get_vals().
void octave_sparse_params::do_print_info | ( | std::ostream & | os, | |
const std::string & | prefix | |||
) | const [private] |
Definition at line 226 of file oct-spparms.cc.
Referenced by print_info().
Definition at line 199 of file oct-spparms.cc.
Referenced by set_key().
Definition at line 178 of file oct-spparms.cc.
References Array< T >::length(), OCTAVE_SPARSE_CONTROLS_SIZE, and params.
Referenced by set_vals().
void octave_sparse_params::do_tight | ( | void | ) | [private] |
double octave_sparse_params::get_bandden | ( | void | ) | [static] |
Definition at line 105 of file oct-spparms.cc.
References do_get_bandden(), instance, and instance_ok().
Referenced by MatrixType::MatrixType(), and MatrixType::type().
double octave_sparse_params::get_key | ( | const std::string & | key | ) | [static] |
Definition at line 99 of file oct-spparms.cc.
References do_get_key(), instance, instance_ok(), and octave_NaN.
Referenced by DEFUN_DLD(), SparseMatrix::determinant(), SparseComplexMatrix::determinant(), SparseMatrix::factorize(), SparseComplexMatrix::factorize(), SparseMatrix::fsolve(), SparseComplexMatrix::fsolve(), MatrixType::info(), sparse_base_chol< chol_type, chol_elt, p_type >::sparse_base_chol_rep::init(), MatrixType::MatrixType(), SparseComplexLU::SparseComplexLU(), SparseLU::SparseLU(), and MatrixType::type().
string_vector octave_sparse_params::get_keys | ( | void | ) | [static] |
Definition at line 75 of file oct-spparms.cc.
References do_get_keys(), instance, and instance_ok().
Referenced by DEFUN_DLD().
ColumnVector octave_sparse_params::get_vals | ( | void | ) | [static] |
Definition at line 81 of file oct-spparms.cc.
References do_get_vals(), instance, and instance_ok().
Referenced by DEFUN_DLD().
void octave_sparse_params::init_keys | ( | void | ) | [private] |
Definition at line 154 of file oct-spparms.cc.
References keys.
bool octave_sparse_params::instance_ok | ( | void | ) | [static] |
Definition at line 37 of file oct-spparms.cc.
References singleton_cleanup_list::add(), cleanup_instance(), instance, and octave_sparse_params().
Referenced by defaults(), get_bandden(), get_key(), get_keys(), get_vals(), print_info(), set_key(), set_vals(), and tight().
octave_sparse_params& octave_sparse_params::operator= | ( | const octave_sparse_params & | a | ) | [inline] |
Definition at line 57 of file oct-spparms.h.
void octave_sparse_params::print_info | ( | std::ostream & | os, | |
const std::string & | prefix | |||
) | [static] |
Definition at line 111 of file oct-spparms.cc.
References do_print_info(), instance, and instance_ok().
Referenced by DEFUN_DLD().
Definition at line 93 of file oct-spparms.cc.
References do_set_key(), instance, and instance_ok().
Referenced by DEFUN_DLD().
Definition at line 87 of file oct-spparms.cc.
References do_set_vals(), instance, and instance_ok().
Referenced by DEFUN_DLD().
void octave_sparse_params::tight | ( | void | ) | [static] |
Definition at line 68 of file oct-spparms.cc.
References do_tight(), instance, and instance_ok().
Referenced by DEFUN_DLD().
octave_sparse_params * octave_sparse_params::instance = 0 [static, private] |
Definition at line 96 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().
string_vector octave_sparse_params::keys [private] |
Definition at line 94 of file oct-spparms.h.
Referenced by do_get_key(), do_print_info(), do_set_key(), init_keys(), and operator=().
ColumnVector octave_sparse_params::params [private] |
Definition at line 92 of file oct-spparms.h.
Referenced by do_defaults(), do_get_bandden(), do_get_key(), do_print_info(), do_set_key(), do_set_vals(), do_tight(), and operator=().