GNU Octave  4.0.0
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 <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"
Include dependency graph for ov-usr-fcn.cc:

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
 

Function Documentation

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 
)

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

References SET_INTERNAL_VARIABLE.

static bool isargout1 ( int  nargout,
const Matrix ignored,
double  k 
)
static

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

References error(), val_in_table(), and xround().

Referenced by Fisargout().

static bool val_in_table ( const Matrix table,
double  val 
)
static

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

References ASCENDING, Array< T >::is_empty(), and Array< T >::lookup().

Referenced by isargout1().

Variable Documentation

bool Voptimize_subsasgn_calls = true
static

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

Referenced by octave_user_function::subsasgn_optimization_ok().

char Vstring_fill_char

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