#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 259 of file sub2ind.cc.
References Array< octave_value >, error(), get_dim_vector(), ind2sub(), print_usage(), dim_vector::redim(), and retval.
OCTAVE_EXPORT octave_value_list Fsub2ind | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 110 of file sub2ind.cc.
References octave::index_exception::err_id(), error(), error_with_id(), get_dim_vector(), ovl(), print_usage(), octave::index_exception::set_pos_if_unset(), octave::index_exception::set_var(), and sub2ind().
|
static |
Definition at line 41 of file sub2ind.cc.
References error(), max(), n, name, Array< T >::numel(), dim_vector::resize(), and octave_value::row_vector_value().
Referenced by Find2sub(), and Fsub2ind().