Go to the source code of this file.
Macros | |
#define | DO_INT_BRANCH(INTT) |
Functions | |
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_value_list Ffind | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 397 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(), 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(), 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(), octave_value::sparse_bool_matrix_value(), octave_value::sparse_complex_matrix_value(), and octave_value::sparse_matrix_value().
octave_value_list find_nonzero_elem_idx | ( | const Array< T > & | nda, |
int | nargout, | ||
octave_idx_type | n_to_find, | ||
int | direction | ||
) |
Definition at line 45 of file find.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::find(), Array< T, Alloc >::index(), Array< T, Alloc >::isempty(), n, Array< T, Alloc >::numel(), Array< T, Alloc >::rows(), and Array< T, Alloc >::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 235 of file find.cc.
References PermMatrix::col_perm_vec(), PermMatrix::cols(), min(), Array< T, Alloc >::resize(), Matrix::resize(), 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 93 of file find.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), min(), Sparse< T, Alloc >::nnz(), Array< T, Alloc >::resize(), Matrix::resize(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().