GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ov-usr-fcn.cc File Reference
#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"
Include dependency graph for ov-usr-fcn.cc:

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
 

Function Documentation

◆ Fisargout()

◆ Fnargin()

◆ Fnargout()

◆ Foptimize_subsasgn_calls()

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.

◆ isargout1()

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

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

References error(), octave::math::fix(), and val_in_table().

Referenced by Fisargout().

◆ val_in_table()

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

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

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

Referenced by isargout1().

Variable Documentation

◆ Voptimize_subsasgn_calls

bool Voptimize_subsasgn_calls = true
static

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

Referenced by octave_user_function::subsasgn_optimization_ok().