#include <utility>
#include "Array-util.h"
#include "oct-locbuf.h"
#include "quit.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "ovl.h"
Go to the source code of this file.
Functions | |
OCTAVE_EXPORT octave_value_list | Find2sub (const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fsub2ind (const octave_value_list &args, int) |
static dim_vector | get_dim_vector (const octave_value &val, const char *name) |
OCTAVE_EXPORT octave_value_list Find2sub | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 258 of file sub2ind.cc.
References Array< octave_value >, error(), get_dim_vector(), ind2sub(), print_usage(), and dim_vector::redim().
OCTAVE_EXPORT octave_value_list Fsub2ind | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 113 of file sub2ind.cc.
References index_exception::err_id(), error(), error_with_id(), get_dim_vector(), ovl(), print_usage(), index_exception::set_pos_if_unset(), index_exception::set_var(), and sub2ind().
|
static |
Definition at line 44 of file sub2ind.cc.
References error(), max(), n, Array< T, Alloc >::numel(), dim_vector::resize(), and octave_value::row_vector_value().
Referenced by Find2sub(), and Fsub2ind().