GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "Array-util.h"
#include "oct-locbuf.h"
#include "quit.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.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 188 of file sub2ind.cc.
References error_state, get_dim_vector(), ind2sub(), dim_vector::length(), print_usage(), and dim_vector::redim().
OCTAVE_EXPORT octave_value_list Fsub2ind | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 83 of file sub2ind.cc.
References error(), error_state, get_dim_vector(), print_usage(), dim_vector::redim(), and sub2ind().
|
static |
Definition at line 38 of file sub2ind.cc.
References error(), Array< T >::length(), max(), dim_vector::resize(), and octave_value::row_vector_value().
Referenced by Find2sub(), and Fsub2ind().