24 #if ! defined (octave_oct_spparms_h)
25 #define octave_oct_spparms_h 1
27 #include "octave-config.h"
38 #define OCTAVE_SPARSE_CONTROLS_SIZE 13
57 : params (a.params), keys (a.keys) { }
72 static bool instance_ok (
void);
74 static void defaults (
void);
76 static void tight (
void);
82 static bool set_vals (
const NDArray& vals);
88 static double get_bandden (
void);
90 static void print_info (std::ostream& os,
const std::string& prefix);
102 void do_defaults (
void);
104 void do_tight (
void);
110 bool do_set_vals (
const NDArray& vals);
116 double do_get_bandden (
void);
118 void do_print_info (std::ostream& os,
const std::string& prefix)
const;
120 void init_keys (
void);
identity matrix If supplied two scalar respectively For allows like xample val
#define OCTAVE_SPARSE_CONTROLS_SIZE
static octave_sparse_params * instance
ColumnVector do_get_vals(void) const
~octave_sparse_params(void)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
octave_sparse_params(void)
octave_sparse_params(const octave_sparse_params &a)
static void cleanup_instance(void)
string_vector do_get_keys(void) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string