Navigation

Operators and Keywords

Function List:

C++ API

ov-list.cc File Reference

#include <iostream>
#include <sstream>
#include "lo-utils.h"
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "ov.h"
#include "ov-list.h"
#include "unwind-prot.h"
#include "byte-swap.h"
#include "ls-oct-ascii.h"
#include "ls-oct-binary.h"
#include "ls-hdf5.h"
#include "ls-utils.h"

Include dependency graph for ov-list.cc:


Functions

 DEFINE_OCTAVE_ALLOCATOR (octave_list)
 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_list,"list","list")
 DEFUN (list, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} list (@var{a1}, @var{a2}, @dots{})\n\ Create a new list with elements given by the arguments @var{a1},\n\ @var{a2}, @dots{}.\n\ @end deftypefn")
 DEFUN (nth, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} nth (@var{list}, @var{n})\n\ Return the @var{n}-th element of @var{list}.\n\ @end deftypefn")
 DEFUN (append, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} append (@var{list}, @var{a1}, @var{a2}, @dots{})\n\ Return a new list created by appending @var{a1}, @var{a2}, @dots{}, to\n\ @var{list}. If any of the arguments to be appended is a list, its\n\ elements are appended individually. For example,\n\ \n\ @example\n\ @group\n\ x = list (1, 2);\n\ y = list (3, 4);\n\ append (x, y);\n\ @end group\n\ @end example\n\ \n\ @noindent\n\ results in the list containing the four elements @samp{(1 2 3 4)}, not\n\ a list containing the three elements @samp{(1 2 (3 4))}.\n\ @end deftypefn")
 DEFUN (reverse, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} reverse (@var{list})\n\ Return a new list created by reversing the elements of @var{list}.\n\ @end deftypefn")
 DEFUN (splice, args,,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} splice (@var{list_1}, @var{offset}, @var{length}, @var{list_2})\n\ Replace @var{length} elements of @var{list_1} beginning at\n\ @var{offset} with the contents of @var{list_2} (if any). If\n\ @var{length} is omitted, all elements from @var{offset} to the end of\n\ @var{list_1} are replaced. As a special case, if @var{offset} is one\n\ greater than the length of @var{list_1} and @var{length} is 0, splice\n\ is equivalent to @code{append (@var{list_1}, @var{list_2})}.\n\ @end deftypefn")

Function Documentation

DEFINE_OCTAVE_ALLOCATOR ( octave_list   ) 

DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA ( octave_list  ,
"list"  ,
"list"   
)

DEFUN ( splice  ,
args   
)

DEFUN ( reverse  ,
args   
)

DEFUN ( append  ,
args   
)

DEFUN ( nth  ,
args   
)

DEFUN ( list  ,
args   
)