GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <sstream>
#include "str-vec.h"
#include <defaults.h>
#include "Cell.h"
#include "builtins.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "input.h"
#include "oct-obj.h"
#include "ov-usr-fcn.h"
#include "ov.h"
#include "pager.h"
#include "pt-eval.h"
#include "pt-jit.h"
#include "pt-jump.h"
#include "pt-misc.h"
#include "pt-pr-code.h"
#include "pt-stmt.h"
#include "pt-walk.h"
#include "symtab.h"
#include "toplev.h"
#include "unwind-prot.h"
#include "utils.h"
#include "parse.h"
#include "profiler.h"
#include "variables.h"
#include "ov-fcn-handle.h"
Go to the source code of this file.
Functions | |
OCTAVE_EXPORT octave_value_list | Fisargout (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fnargin (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fnargout (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Foptimize_subsasgn_calls (const octave_value_list &args, int nargout) |
static bool | isargout1 (int nargout, const Matrix &ignored, double k) |
static bool | val_in_table (const Matrix &table, double val) |
Variables | |
static bool | Voptimize_subsasgn_calls = true |
char | Vstring_fill_char |
OCTAVE_EXPORT octave_value_list Fisargout | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1095 of file ov-usr-fcn.cc.
References symbol_table::at_top_level(), Array< T >::dims(), error(), error_state, gripe_wrong_type_arg(), octave_value::int_value(), octave_value::is_defined(), isargout1(), octave_value::matrix_value(), Array< T >::numel(), print_usage(), and symbol_table::varval().
OCTAVE_EXPORT octave_value_list Fnargin | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 854 of file ov-usr-fcn.cc.
References error(), symbol_table::find_function(), octave_value::function_value(), octave_value::is_string(), octave_value::is_undefined(), octave_base_list< elt_type >::length(), octave_user_function::parameter_list(), print_usage(), octave_value::string_value(), octave_user_function::takes_varargs(), octave_base_value::user_function_value(), and symbol_table::varval().
OCTAVE_EXPORT octave_value_list Fnargout | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 961 of file ov-usr-fcn.cc.
References octave_fcn_handle::anonymous, symbol_table::at_top_level(), error(), octave_value::fcn_handle_value(), octave_fcn_handle::fcn_name(), symbol_table::find_function(), octave_value::function_value(), octave_value::is_function_handle(), octave_value::is_inline_function(), octave_value::is_string(), octave_value::is_undefined(), octave_base_list< elt_type >::length(), print_usage(), octave_user_function::return_list(), octave_value::string_value(), octave_user_function::takes_var_return(), octave_base_value::user_function_value(), and symbol_table::varval().
OCTAVE_EXPORT octave_value_list Foptimize_subsasgn_calls | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 1054 of file ov-usr-fcn.cc.
References SET_INTERNAL_VARIABLE.
Definition at line 1068 of file ov-usr-fcn.cc.
References error(), val_in_table(), and xround().
Referenced by Fisargout().
Definition at line 1059 of file ov-usr-fcn.cc.
References ASCENDING, Array< T >::is_empty(), and Array< T >::lookup().
Referenced by isargout1().
|
static |
Definition at line 59 of file ov-usr-fcn.cc.
Referenced by octave_user_function::subsasgn_optimization_ok().