GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
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) |
#define DO_INT_BRANCH | ( | INTT | ) |
Referenced by Ffind().
OCTAVE_EXPORT octave_value_list Ffind | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 397 of file find.cc.
References arg(), octave_value::array_value(), octave_value::bool_array_value(), octave_value::char_array_value(), octave_value::complex_array_value(), DO_INT_BRANCH, error(), error_state, find_nonzero_elem_idx(), octave_value::float_array_value(), octave_value::float_complex_array_value(), gripe_wrong_type_arg(), octave_value::index_vector(), octave_value::is_bool_type(), octave_value::is_complex_type(), octave_value::is_integer_type(), octave_value::is_perm_matrix(), octave_value::is_real_type(), octave_value::is_single_type(), octave_value::is_sparse_type(), octave_value::is_string(), octave_value_list::length(), panic_impossible, octave_value::perm_matrix_value(), print_usage(), octave_value::sparse_bool_matrix_value(), octave_value::sparse_complex_matrix_value(), octave_value::sparse_matrix_value(), idx_vector::unmask(), xisinf(), and xround().
octave_value_list find_nonzero_elem_idx | ( | const Array< T > & | nda, |
int | nargout, | ||
octave_idx_type | n_to_find, | ||
int | direction | ||
) |
Definition at line 40 of file find.cc.
References Array< T >::dims(), Array< T >::find(), Array< T >::index(), Array< T >::is_empty(), Array< T >::length(), Array< T >::numel(), Array< T >::rows(), and Array< T >::xelem().
Referenced by Ffind().
octave_value_list find_nonzero_elem_idx | ( | const Sparse< T > & | v, |
int | nargout, | ||
octave_idx_type | n_to_find, | ||
int | direction | ||
) |
Definition at line 86 of file find.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::columns(), Sparse< T >::data(), Sparse< T >::nnz(), OCTAVE_QUIT, panic_impossible, Matrix::resize(), Array< T >::resize(), Sparse< T >::ridx(), and Sparse< T >::rows().
octave_value_list find_nonzero_elem_idx | ( | const PermMatrix & | v, |
int | nargout, | ||
octave_idx_type | n_to_find, | ||
int | direction | ||
) |
Definition at line 228 of file find.cc.
References PermMatrix::cols(), PermMatrix::data(), PermMatrix::is_col_perm(), OCTAVE_QUIT, panic_impossible, Matrix::resize(), Array< T >::resize(), and PermMatrix::rows().