GNU Octave  3.8.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
pt-arg-list.cc File Reference
#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"
Include dependency graph for pt-arg-list.cc:

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_valueindexed_object = 0
static int num_indices = 0

Function Documentation

DEFCONSTFUN ( end  )

Variable Documentation

int index_position = 0
static

Definition at line 126 of file pt-arg-list.cc.

const octave_value* indexed_object = 0
static

Definition at line 125 of file pt-arg-list.cc.

Referenced by DEFCONSTFUN().

int num_indices = 0
static

Definition at line 127 of file pt-arg-list.cc.

Referenced by DEFCONSTFUN().