#include <sstream>
#include "file-info.h"
#include "file-stat.h"
#include "str-vec.h"
#include "builtin-defun-decls.h"
#include "defaults.h"
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "input.h"
#include "ovl.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 "interpreter-private.h"
#include "interpreter.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 (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fnargin (octave::interpreter &interp, const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fnargout (octave::interpreter &interp, 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 |
OCTAVE_EXPORT octave_value_list Fisargout | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 921 of file ov-usr-fcn.cc.
References Array< T >::dims(), err_wrong_type_arg(), error(), octave::tree_evaluator::get_auto_fcn_var(), octave::stack_frame::IGNORED, octave_value::int_value(), octave_value::is_defined(), isargout1(), octave_value::matrix_value(), octave::stack_frame::NARGOUT, Array< T >::numel(), ovl(), print_usage(), and r.
OCTAVE_EXPORT octave_value_list Fnargin | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 684 of file ov-usr-fcn.cc.
References error(), octave::symbol_table::find_function(), octave_value::function_value(), octave::tree_evaluator::get_auto_fcn_var(), octave_value::is_string(), octave_value::is_undefined(), octave::base_list< elt_type >::length(), name, octave::stack_frame::NARGIN, octave_user_function::parameter_list(), print_usage(), retval, octave_value::string_value(), octave_user_function::takes_varargs(), octave_base_value::type_name(), and octave_base_value::user_function_value().
OCTAVE_EXPORT octave_value_list Fnargout | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 795 of file ov-usr-fcn.cc.
References error(), octave_value::fcn_handle_value(), octave::symbol_table::find_function(), octave_value::function_value(), octave::tree_evaluator::get_auto_fcn_var(), octave_fcn_handle::is_anonymous(), octave_value::is_function_handle(), octave_value::is_inline_function(), octave_value::is_string(), octave_value::is_undefined(), octave::base_list< elt_type >::length(), name, octave::stack_frame::NARGOUT, ovl(), print_usage(), octave_user_function::return_list(), retval, octave_value::string_value(), octave_user_function::takes_var_return(), octave_base_value::type_name(), and octave_base_value::user_function_value().
OCTAVE_EXPORT octave_value_list Foptimize_subsasgn_calls | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 883 of file ov-usr-fcn.cc.
References SET_INTERNAL_VARIABLE.
|
static |
Definition at line 897 of file ov-usr-fcn.cc.
References error(), octave::math::fix(), and val_in_table().
Referenced by Fisargout().
|
static |
Definition at line 888 of file ov-usr-fcn.cc.
References ASCENDING, Array< T >::isempty(), and Array< T >::lookup().
Referenced by isargout1().
|
static |
Definition at line 65 of file ov-usr-fcn.cc.
Referenced by octave_user_function::subsasgn_optimization_ok().