GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sparse_params Class Reference

#include "oct-spparms.h"

Public Member Functions

 sparse_params (const sparse_params &)=default
 
 ~sparse_params ()=default
 
sparse_paramsoperator= (const sparse_params &)=default
 

Static Public Member Functions

static void defaults ()
 
static double get_bandden ()
 
static double get_key (const std::string &key)
 
static string_vector get_keys ()
 
static ColumnVector get_vals ()
 
static bool instance_ok ()
 
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 ()
 

Protected Member Functions

 sparse_params ()
 

Detailed Description

Definition at line 42 of file oct-spparms.h.

Constructor & Destructor Documentation

◆ sparse_params() [1/2]

sparse_params::sparse_params ( )
inlineprotected

Definition at line 46 of file oct-spparms.h.

Referenced by instance_ok().

◆ sparse_params() [2/2]

sparse_params::sparse_params ( const sparse_params )
default

◆ ~sparse_params()

sparse_params::~sparse_params ( )
default

Member Function Documentation

◆ defaults()

void sparse_params::defaults ( )
static

Definition at line 57 of file oct-spparms.cc.

References instance_ok().

Referenced by Fspparms().

◆ get_bandden()

double sparse_params::get_bandden ( )
static

Definition at line 102 of file oct-spparms.cc.

References instance_ok().

◆ get_key()

double sparse_params::get_key ( const std::string &  key)
static

Definition at line 95 of file oct-spparms.cc.

References instance_ok(), and NaN.

Referenced by sparse_lu< lu_type >::sparse_lu(), and Fspparms().

◆ get_keys()

string_vector sparse_params::get_keys ( )
static

Definition at line 71 of file oct-spparms.cc.

References instance_ok().

Referenced by Fspparms().

◆ get_vals()

ColumnVector sparse_params::get_vals ( )
static

Definition at line 77 of file oct-spparms.cc.

References instance_ok().

Referenced by Fspparms().

◆ instance_ok()

bool sparse_params::instance_ok ( )
static

◆ operator=()

sparse_params& sparse_params::operator= ( const sparse_params )
default

◆ print_info()

void sparse_params::print_info ( std::ostream &  os,
const std::string &  prefix 
)
static

Definition at line 108 of file oct-spparms.cc.

References instance_ok().

Referenced by Fspparms().

◆ set_key()

bool sparse_params::set_key ( const std::string &  key,
const double &  val 
)
static

Definition at line 89 of file oct-spparms.cc.

References instance_ok().

Referenced by Fspparms().

◆ set_vals()

bool sparse_params::set_vals ( const Array< double > &  vals)
static

Definition at line 83 of file oct-spparms.cc.

References instance_ok().

Referenced by Fspparms().

◆ tight()

void sparse_params::tight ( )
static

Definition at line 64 of file oct-spparms.cc.

References instance_ok().

Referenced by Fspparms().


The documentation for this class was generated from the following files: