23 #if defined (HAVE_CONFIG_H) 63 error (
"print_usage: invalid function");
77 error (
"API version %s found in .oct file function '%s'\n" 78 " does not match the running Octave (API version %s)\n" 79 " this can lead to incorrect results or other failures\n" 80 " you can fix this problem by recompiling this .oct file",
OCTINTERP_API octave_value_list feval(const std::string &name, const octave_value_list &args=octave_value_list(), int nargout=0)
void install_built_in_dispatch(const std::string &name, const std::string &klass)
For example cd octave end example noindent changes the current working directory to file
virtual bool is_dld_function(void) const
void install_mex_function(void *fptr, bool fmex, const std::string &name, const octave::dynamic_library &shl, bool relative)
void install_builtin_function(octave_builtin::fcn f, const std::string &name, const std::string &file, const std::string &doc, bool)
void alias_built_in_function(const std::string &alias, const std::string &name)
void install_built_in_function(const std::string &name, const octave_value &fcn)
bool isargout(int nargout, int iout) const
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
octave_value_list(* fcn)(const octave_value_list &, int)
void error(const char *fmt,...)
#define OCTAVE_API_VERSION
virtual bool is_mex_function(void) const
bool defun_isargout(int nargout, int iout)
symbol_table & __get_symbol_table__(const std::string &who)
nd deftypefn *std::string name
octave::dynamic_library get_current_shlib(void)
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)
octave_value_list(* meth)(octave::interpreter &, const octave_value_list &, int)
void install_dld_function(octave_dld_function::fcn f, const std::string &name, const octave::dynamic_library &shl, const std::string &doc, bool relative)
octave_function * current(void) const
void alias_builtin(const std::string &alias, const std::string &name)
void check_version(const std::string &version, const std::string &fcn)
FloatComplex(* fptr)(const FloatComplex &, float, int, octave_idx_type &)
call_stack & __get_call_stack__(const std::string &who)
octave::dynamic_library get_shlib(void) const
std::string name(void) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
tree_evaluator & __get_evaluator__(const std::string &who)
void install_builtin_dispatch(const std::string &name, const std::string &klass)