GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Quad-opts.cc File Reference
#include <iomanip>
#include <ostream>
#include <sstream>
#include "Quad-opts.h"
#include "defun.h"
#include "pr-output.h"
#include "ovl.h"
#include "utils.h"
#include "pager.h"
Include dependency graph for Quad-opts.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Quad_options_struct
 

Macros

#define MAX_TOKENS   4
 
#define NUM_OPTIONS   4
 

Functions

OCTAVE_EXPORT octave_value_list Fquad_options (const octave_value_list &args, int)
 
static void print_Quad_options (std::ostream &os)
 
static void set_Quad_options (const std::string &keyword, const octave_value &val)
 
static octave_value_list show_Quad_options (const std::string &keyword)
 

Variables

static Quad_options_struct Quad_options_table []
 
static Quad_options quad_opts
 

Macro Definition Documentation

◆ MAX_TOKENS

#define MAX_TOKENS   4

Definition at line 23 of file Quad-opts.cc.

◆ NUM_OPTIONS

#define NUM_OPTIONS   4

Definition at line 33 of file Quad-opts.cc.

Function Documentation

◆ Fquad_options()

OCTAVE_EXPORT octave_value_list Fquad_options ( const octave_value_list args,
int   
)

◆ print_Quad_options()

static void print_Quad_options ( std::ostream &  os)
static

Definition at line 55 of file Quad-opts.cc.

References Quad_options_struct::keyword, octave::left, Quad_options_table, and quad_opts.

Referenced by Fquad_options().

◆ set_Quad_options()

static void set_Quad_options ( const std::string &  keyword,
const octave_value val 
)
static

◆ show_Quad_options()

static octave_value_list show_Quad_options ( const std::string &  keyword)
static

Variable Documentation

◆ Quad_options_table

Quad_options_struct Quad_options_table[]
static
Initial value:
=
{
{ "absolute tolerance",
{ "absolute", "tolerance", nullptr, nullptr, nullptr, },
{ 1, 0, 0, 0, 0, }, 1, },
{ "relative tolerance",
{ "relative", "tolerance", nullptr, nullptr, nullptr, },
{ 1, 0, 0, 0, 0, }, 1, },
{ "single precision absolute tolerance",
{ "single", "precision", "absolute", "tolerance", nullptr, },
{ 1, 1, 1, 0, 0, }, 3, },
{ "single precision relative tolerance",
{ "single", "precision", "relative", "tolerance", nullptr, },
{ 1, 1, 1, 0, 0, }, 3, },
}

Definition at line 35 of file Quad-opts.cc.

Referenced by print_Quad_options(), set_Quad_options(), and show_Quad_options().

◆ quad_opts

Quad_options quad_opts
static

Definition at line 21 of file Quad-opts.cc.

Referenced by DEFMETHODX(), print_Quad_options(), set_Quad_options(), and show_Quad_options().