24 #if ! defined (octave_oct_spparms_h) 25 #define octave_oct_spparms_h 1 27 #include "octave-config.h" 37 #define OCTAVE_SPARSE_CONTROLS_SIZE 13 56 : params (
a.params), keys (
a.keys) { }
71 static bool instance_ok (
void);
73 static void defaults (
void);
75 static void tight (
void);
81 static bool set_vals (
const NDArray& vals);
87 static double get_bandden (
void);
101 void do_defaults (
void);
103 void do_tight (
void);
109 bool do_set_vals (
const NDArray& vals);
115 double do_get_bandden (
void);
117 void do_print_info (std::ostream&
os,
const std::string& prefix)
const;
119 void init_keys (
void);
identity matrix If supplied two scalar respectively For allows like xample val
#define OCTAVE_SPARSE_CONTROLS_SIZE
NDArray & operator=(const NDArray &a)
static octave_sparse_params * instance
ColumnVector do_get_vals(void) const
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)
string_vector do_get_keys(void) const
octave_sparse_params(const octave_sparse_params &a)
void print_info(std::ostream &os, const std::string &prefix) const
static void cleanup_instance(void)
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