GNU Octave  4.0.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
Macros | Functions
find.cc File Reference
#include "quit.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
Include dependency graph for find.cc:

Go to the source code of this file.

Macros

#define DO_INT_BRANCH(INTT)
 

Functions

OCTAVE_EXPORT octave_value_list Ffind (const octave_value_list &args, int nargout)
 
template<typename T >
octave_value_list find_nonzero_elem_idx (const Array< T > &nda, int nargout, octave_idx_type n_to_find, int direction)
 
template<typename T >
octave_value_list find_nonzero_elem_idx (const Sparse< T > &v, int nargout, octave_idx_type n_to_find, int direction)
 
octave_value_list find_nonzero_elem_idx (const PermMatrix &v, int nargout, octave_idx_type n_to_find, int direction)
 

Macro Definition Documentation

#define DO_INT_BRANCH (   INTT)
Value:
else if (arg.is_ ## INTT ## _type ()) \
{ \
INTT ## NDArray v = arg.INTT ## _array_value (); \
\
if (! error_state) \
retval = find_nonzero_elem_idx (v, nargout, \
n_to_find, direction);\
}
octave_value_list find_nonzero_elem_idx(const Array< T > &nda, int nargout, octave_idx_type n_to_find, int direction)
Definition: find.cc:40
int error_state
Definition: error.cc:101
double arg(double x)
Definition: lo-mappers.h:37

Referenced by Ffind().

Function Documentation

OCTAVE_EXPORT octave_value_list Ffind ( const octave_value_list args,
int  nargout 
)
template<typename T >
octave_value_list find_nonzero_elem_idx ( const Array< T > &  nda,
int  nargout,
octave_idx_type  n_to_find,
int  direction 
)
template<typename T >
octave_value_list find_nonzero_elem_idx ( const Sparse< T > &  v,
int  nargout,
octave_idx_type  n_to_find,
int  direction 
)
octave_value_list find_nonzero_elem_idx ( const PermMatrix v,
int  nargout,
octave_idx_type  n_to_find,
int  direction 
)