GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
ov-usr-fcn.cc File Reference
#include <sstream>
#include "str-vec.h"
#include "builtin-defun-decls.h"
#include "call-stack.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.h"
#include "unwind-prot.h"
#include "utils.h"
#include "parse.h"
#include "profiler.h"
#include "variables.h"
#include "ov-fcn-handle.h"
Include dependency graph for ov-usr-fcn.cc:

Go to the source code of this file.

Functions

OCTAVE_EXPORT octave_value_list Fnargin (const octave_value_list &args, int) return the number of arguments passed to the function.At the top level
 
OCTAVE_EXPORT octave_value_list Foptimize_subsasgn_calls (const octave_value_list &args, int nargout) Octave will attempt to eliminate the redundant copying when calling the ode
 
OCTAVE_EXPORT
octave_value_list return the
number of command line
arguments passed to Octave If
called with the optional
argument the function xample 
nargout (@histc)
 

Variables

OCTAVE_EXPORT
octave_value_list return the
number of command line
arguments passed to Octave If
called with the optional
argument 
ar {fcn}---a function name or handle---return the declared number of arguments that the function can accept. If the last argument to ar{fcn} is ar{varargin} the returned value is negative. For example
 
method of a user defined When
called from inside a function
with the 
code {"local"} option
 
OCTAVE_EXPORT
octave_value_list return the
number of command line
arguments passed to Octave If
called with the optional
argument the function 
ode
 
OCTAVE_EXPORT
octave_value_list return the
number of command line
arguments passed to Octave If
called with the optional
argument the function 
t = f () nd example oindent will cause ode{nargout} to return 2 inside the function ode{f}. In the second usage
 
static bool Voptimize_subsasgn_calls = true
 
char Vstring_fill_char
 

Function Documentation

OCTAVE_EXPORT octave_value_list Fnargin ( const octave_value_list args,
int   
)

Referenced by install_ov_usr_fcn_fcns().

OCTAVE_EXPORT octave_value_list Foptimize_subsasgn_calls ( const octave_value_list args,
int  nargout 
)

Definition at line 1020 of file ov-usr-fcn.cc.

References SET_INTERNAL_VARIABLE.

Referenced by install_ov_usr_fcn_fcns().

OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function xample nargout ( histc)

Variable Documentation

OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument ar {fcn}---a function name or handle---return the declared number of arguments that the function can accept. If the last argument to ar{fcn} is ar{varargin} the returned value is negative. For example

Definition at line 828 of file ov-usr-fcn.cc.

method of a user defined When called from inside a function with the code {"local"} option

Definition at line 1020 of file ov-usr-fcn.cc.

OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function ode

Definition at line 828 of file ov-usr-fcn.cc.

OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t = f () nd example oindent will cause ode{nargout} to return 2 inside the function ode{f}. In the second usage

Definition at line 935 of file ov-usr-fcn.cc.

Referenced by __lo_ieee_float_is_NA(), __lo_ieee_is_NA(), __lo_ieee_is_old_NA(), norm_accumulator_p< R >::accum(), norm_accumulator_mp< R >::accum(), norm_accumulator_2< R >::accum(), profile_data_accumulator::add_current_time(), add_hdf5_data(), load_path::loader::add_to_fcn_map(), tree_colon_expression::append(), octave_comment_list::append(), octave_value::assign(), octave::math::betaincinv(), daspk_user_function(), daspk_user_jacobian(), dasrt_user_cf(), dasrt_user_f(), dasrt_user_j(), dassl_user_function(), dassl_user_jacobian(), ddasrt_f(), ddasrt_g(), octave_user_function::define_ret_list(), octave_value::do_non_const_unary_op(), do_unary_op(), octave::math::ellipj(), erfcx_y100(), err_invalid_index_type(), octave::math::expm1(), F__dispatch__(), get_fcn_files(), tree_index_expression::get_struct_index(), octave::sys::base_tm::init(), octave::sys::localtime::init(), octave::sys::gmtime::init(), octave::sys::strptime::init(), base_diff_eqn::initialize(), is_equivalent_type< double >(), is_equivalent_type< float >(), is_equivalent_type< int16_t >(), is_equivalent_type< int32_t >(), is_equivalent_type< int64_t >(), is_equivalent_type< int8_t >(), is_equivalent_type< octave_int16 >(), is_equivalent_type< octave_int32 >(), is_equivalent_type< octave_int64 >(), is_equivalent_type< octave_int8 >(), is_equivalent_type< octave_uint16 >(), is_equivalent_type< octave_uint32 >(), is_equivalent_type< octave_uint64 >(), is_equivalent_type< octave_uint8 >(), is_equivalent_type< uint16_t >(), is_equivalent_type< uint32_t >(), is_equivalent_type< uint64_t >(), is_equivalent_type< uint8_t >(), keyword_almost_match(), link(), octave::math::log1p(), looks_like_html(), looks_like_texinfo(), lsode_user_function(), lsode_user_jacobian(), octave::base_parser::make_assign_op(), octave::base_parser::make_binary_op(), octave::base_parser::make_boolean_op(), make_idx_args(), octave::base_parser::make_postfix_op(), octave::base_parser::make_prefix_op(), octave_dld_function::mark_fcn_file_up_to_date(), octave_mex_function::mark_fcn_file_up_to_date(), octave_user_script::mark_fcn_file_up_to_date(), octave_user_function::mark_fcn_file_up_to_date(), MatrixType::MatrixType(), idx_vector::maybe_reduce(), mx_inline_xsum(), oct_float_randp(), oct_randp(), octave_ieee_init(), KPty::open(), DASRT_result::operator=(), base_diff_eqn::operator=(), poisson_cdf_lookup(), poisson_cdf_lookup_float(), poisson_rejection(), poisson_rejection_float(), radio_values::radio_values(), replace_colons(), octave::math::roundb(), octave_lvalue::set_index(), octave::base_parser::start_if_command(), octave_user_script::stash_fcn_file_time(), octave_user_function::stash_fcn_file_time(), octave::sys::base_tm::strftime(), string_vector::string_vector(), octave_cell::string_vector_value(), octave_struct::subsref(), octave_class::subsref(), swap_bytes(), octave::opengl_tesselator::tess_begin(), octave::opengl_tesselator::tess_combine(), octave::opengl_tesselator::tess_edge_flag(), octave::opengl_tesselator::tess_end(), octave::opengl_tesselator::tess_error(), octave::opengl_tesselator::tess_vertex(), octave::sys::time::time(), base_diff_eqn::time(), DASRT_result::times(), token::token(), octave_lvalue::value(), tree_breakpoint::visit_if_command_list(), tree_breakpoint::visit_switch_case_list(), octave::tree_evaluator::visit_switch_command(), and w_im_y100().

bool Voptimize_subsasgn_calls = true
static

Definition at line 60 of file ov-usr-fcn.cc.

char Vstring_fill_char

Definition at line 53 of file pt-mat.cc.

Referenced by octave_user_function::bind_automatic_vars().