GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <string>
#include <sys/types.h>
#include <unistd.h>
#include <X11/Xlib.h>
Go to the source code of this file.
Macros | |
#define | OCTAVE_ARCHLIBDIR "/usr/local/libexec/octave/3.8.0/exec/x86_64-unknown-linux-gnu" |
#define | OCTAVE_BINDIR "/usr/local/bin" |
#define | OCTAVE_PREFIX "/usr/local" |
#define | OCTAVE_VERSION "3.8.0" |
Functions | |
bool | display_available (std::string &err_msg) |
static std::string | get_octave_archlibdir (void) |
static std::string | get_octave_bindir (void) |
static std::string | get_octave_home (void) |
int | main (int argc, char **argv) |
static int | octave_exec (const std::string &file, char **argv) |
static std::string | octave_getenv (const std::string &name) |
static char * | strsave (const char *s) |
static std::string | subst_octave_home (const std::string &s) |
Variables | |
static const char | dir_sep_char = '/' |
#define OCTAVE_ARCHLIBDIR "/usr/local/libexec/octave/3.8.0/exec/x86_64-unknown-linux-gnu" |
Definition at line 50 of file main.cc.
Referenced by Foctave_config_info(), get_octave_archlibdir(), initialize(), and set_default_arch_lib_dir().
#define OCTAVE_BINDIR "/usr/local/bin" |
Definition at line 54 of file main.cc.
Referenced by Foctave_config_info(), get_octave_bindir(), initialize(), and set_default_bin_dir().
#define OCTAVE_PREFIX "/usr/local" |
Definition at line 58 of file main.cc.
Referenced by Foctave_config_info(), get_octave_home(), initialize(), set_octave_home(), and subst_octave_home().
#define OCTAVE_VERSION "3.8.0" |
Definition at line 46 of file main.cc.
Referenced by default_history_timestamp_format(), default_save_header_format(), Foctave_config_info(), FOCTAVE_VERSION(), initialize(), initialize_version_info(), main(), octave_name_version_and_copyright(), and write_header().
bool display_available | ( | std::string & | err_msg | ) |
Definition at line 132 of file main.cc.
Referenced by gtk_manager::gtk_manager(), and main().
|
static |
Definition at line 447 of file main.cc.
References OCTAVE_ARCHLIBDIR, octave_getenv(), and subst_octave_home().
Referenced by main().
|
static |
Definition at line 434 of file main.cc.
References OCTAVE_BINDIR, octave_getenv(), and subst_octave_home().
Referenced by main().
|
static |
Definition at line 396 of file main.cc.
References octave_getenv(), and OCTAVE_PREFIX.
Referenced by subst_octave_home().
Definition at line 606 of file main.cc.
References display_available(), get_octave_archlibdir(), get_octave_bindir(), install_signal_handlers(), octave_exec(), OCTAVE_VERSION, start_gui, strsave(), WAITPID, WEXITSTATUS, WIFEXITED, and WIFSIGNALLED.
|
static |
Definition at line 388 of file main.cc.
Referenced by get_octave_archlibdir(), get_octave_bindir(), and get_octave_home().
Definition at line 594 of file main.cc.
Referenced by mxArray_struct::add_field(), string_vector::c_str_vec(), error_1(), Frethrow(), mex::function_name(), mxArray_octave_value::get_class_name(), handle_message(), octave_base_lexer::handle_number(), octave_strptime::init(), keyword_almost_match(), main(), octave_time::octave_time(), scanf_format_elt::operator=(), printf_format_elt::operator=(), pr_where_2(), and octave_base_tm::strftime().
|
static |
Definition at line 409 of file main.cc.
References dir_sep_char, get_octave_home(), OCTAVE_PREFIX, and replace().
Referenced by Foctave_config_info(), get_octave_archlibdir(), get_octave_bindir(), set_default_arch_lib_dir(), set_default_bin_dir(), set_default_data_dir(), set_default_doc_cache_file(), set_default_fcn_file_dir(), set_default_image_dir(), set_default_info_dir(), set_default_info_file(), set_default_libexec_dir(), set_default_local_api_arch_lib_dir(), set_default_local_api_fcn_file_dir(), set_default_local_api_oct_file_dir(), set_default_local_arch_lib_dir(), set_default_local_fcn_file_dir(), set_default_local_oct_file_dir(), set_default_local_ver_arch_lib_dir(), set_default_local_ver_fcn_file_dir(), set_default_local_ver_oct_file_dir(), set_default_oct_etc_dir(), set_default_oct_file_dir(), set_default_oct_locale_dir(), set_default_texi_macros_file(), set_local_site_defaults_file(), and set_site_defaults_file().
|
static |
Definition at line 384 of file main.cc.
Referenced by subst_octave_home().