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) |
#define DO_INT_BRANCH | ( | INTT | ) |
OCTAVE_EXPORT octave_value_list Ffind | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 390 of file find.cc.
References dim_vector::all_zero(), octave_value::array_value(), dim_vector::as_column(), octave_value::bool_array_value(), octave_value::char_array_value(), octave_value::complex_array_value(), octave_value::dims(), DO_INT_BRANCH, err_wrong_type_arg(), error(), find_nonzero_elem_idx(), octave::math::fix(), octave_value::float_array_value(), octave_value::float_complex_array_value(), octave_value::index_vector(), octave_value::is_perm_matrix(), octave_value::is_single_type(), octave_value::is_string(), octave_value::iscomplex(), octave::math::isinf(), octave_value::isinteger(), octave_value::islogical(), octave_value::isreal(), octave_value::issparse(), dim_vector::isvector(), panic_impossible, octave_value::perm_matrix_value(), print_usage(), octave_value::reshape(), retval, octave_value::sparse_bool_matrix_value(), octave_value::sparse_complex_matrix_value(), octave_value::sparse_matrix_value(), and idx_vector::unmask().
octave_value_list find_nonzero_elem_idx | ( | const Array< T > & | nda, |
int | nargout, | ||
octave_idx_type | n_to_find, | ||
int | direction | ||
) |
Definition at line 43 of file find.cc.
References Array< T >::dims(), Array< T >::find(), Array< T >::index(), Array< T >::isempty(), n, Array< T >::numel(), retval, Array< T >::rows(), and Array< T >::xelem().
Referenced by Ffind().
octave_value_list find_nonzero_elem_idx | ( | const PermMatrix & | v, |
int | nargout, | ||
octave_idx_type | n_to_find, | ||
int | direction | ||
) |
Definition at line 232 of file find.cc.
References PermMatrix::col_perm_vec(), PermMatrix::cols(), min(), Array< T >::resize(), Matrix::resize(), retval, and PermMatrix::rows().
octave_value_list find_nonzero_elem_idx | ( | const Sparse< T > & | v, |
int | nargout, | ||
octave_idx_type | n_to_find, | ||
int | direction | ||
) |
Definition at line 90 of file find.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), min(), Sparse< T >::nnz(), Array< T >::resize(), Matrix::resize(), retval, Sparse< T >::ridx(), and Sparse< T >::rows().