26 #if ! defined (octave_oct_spparms_h)
27 #define octave_oct_spparms_h 1
29 #include "octave-config.h"
39 #define OCTAVE_SPARSE_CONTROLS_SIZE 13
58 : params (a.params), keys (a.keys) { }
73 static bool instance_ok (
void);
75 static void defaults (
void);
77 static void tight (
void);
83 static bool set_vals (
const NDArray& vals);
85 static bool set_key (
const std::string& key,
const double& val);
87 static double get_key (
const std::string& key);
89 static double get_bandden (
void);
91 static void print_info (std::ostream& os,
const std::string& prefix);
103 void do_defaults (
void);
105 void do_tight (
void);
111 bool do_set_vals (
const NDArray& vals);
113 bool do_set_key (
const std::string& key,
const double& val);
115 double do_get_key (
const std::string& key);
117 double do_get_bandden (
void);
119 void do_print_info (std::ostream& os,
const std::string& prefix)
const;
121 void init_keys (
void);
void print_info(std::ostream &os, const std::string &prefix) const
NDArray & operator=(const NDArray &a)
octave_sparse_params(void)
string_vector do_get_keys(void) const
octave_sparse_params(const octave_sparse_params &a)
static octave_sparse_params * instance
static void cleanup_instance(void)
ColumnVector do_get_vals(void) const
~octave_sparse_params(void)=default
#define OCTAVE_SPARSE_CONTROLS_SIZE