GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
find.cc File Reference
#include "quit.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "ovl.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)
 
octave_value_list find_nonzero_elem_idx (const PermMatrix &v, 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)
 

Macro Definition Documentation

◆ DO_INT_BRANCH

#define DO_INT_BRANCH (   INTT)
Value:
else if (arg.is_ ## INTT ## _type ()) \
{ \
INTT ## NDArray v = arg.INTT ## _array_value (); \
\
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:43

Function Documentation

◆ Ffind()

◆ find_nonzero_elem_idx() [1/3]

template<typename T >
octave_value_list find_nonzero_elem_idx ( const Array< T > &  nda,
int  nargout,
octave_idx_type  n_to_find,
int  direction 
)

◆ find_nonzero_elem_idx() [2/3]

octave_value_list find_nonzero_elem_idx ( const PermMatrix v,
int  nargout,
octave_idx_type  n_to_find,
int  direction 
)

◆ find_nonzero_elem_idx() [3/3]

template<typename T >
octave_value_list find_nonzero_elem_idx ( const Sparse< T > &  v,
int  nargout,
octave_idx_type  n_to_find,
int  direction 
)