GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iostream>
#include <string>
#include "str-vec.h"
#include "defun.h"
#include "error.h"
#include "oct-lvalue.h"
#include "oct-obj.h"
#include "ov.h"
#include "ov-usr-fcn.h"
#include "parse.h"
#include "pt-arg-list.h"
#include "pt-exp.h"
#include "pt-id.h"
#include "pt-pr-code.h"
#include "pt-walk.h"
#include "toplev.h"
#include "unwind-prot.h"
Go to the source code of this file.
Functions | |
DEFCONSTFUN (end,,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} end\n\ The magic index @qcode{\"end\"} refers to the last valid entry in an indexing\n\ operation.\n\ \n\ Example:\n\ \n\ @example\n\ @group\n\ @var{x} = [ 1 2 3 \n\ 4 5 6 ];\n\ @var{x}(1,end)\n\ @result{} 3\n\ @var{x}(end,1)\n\ @result{} 4\n\ @var{x}(end,end)\n\ @result{} 6\n\ @end group\n\ @end example\n\ @end deftypefn") |
Variables | |
static int | index_position = 0 |
static const octave_value * | indexed_object = 0 |
static int | num_indices = 0 |
DEFCONSTFUN | ( | end | ) |
Definition at line 129 of file pt-arg-list.cc.
References octave_value::class_name(), octave_value::dims(), error(), feval(), symbol_table::find_method(), octave_value::function_value(), indexed_object, octave_value::is_defined(), octave_value::is_object(), dim_vector::length(), num_indices, and dim_vector::resize().
|
static |
Definition at line 126 of file pt-arg-list.cc.
|
static |
Definition at line 125 of file pt-arg-list.cc.
Referenced by DEFCONSTFUN().
|
static |
Definition at line 127 of file pt-arg-list.cc.
Referenced by DEFCONSTFUN().