flex_indexing module¶
Classes and functions for flexible indexing.
flex_choose_i_1d_nb function¶
Choose a position in an array as if it has been broadcast against rows or columns.
Note
Array must be one-dimensional.
flex_choose_i_and_col_nb function¶
Choose a position in an array as if it has been broadcast rows and columns.
Can use rotational indexing along rows and columns.
Note
Array must be two-dimensional.
flex_choose_i_pc_1d_nb function¶
Choose a position in an array as if it has been broadcast against columns.
Can use rotational indexing along columns.
Note
Array must be one-dimensional.
flex_choose_i_pc_nb function¶
Choose a position in an array as if it has been broadcast against columns.
Can use rotational indexing along columns.
Note
Array must be two-dimensional.
flex_choose_i_pr_1d_nb function¶
Choose a position in an array as if it has been broadcast against rows.
Can use rotational indexing along rows.
Note
Array must be one-dimensional.
flex_choose_i_pr_nb function¶
Choose a position in an array as if it has been broadcast against rows.
Can use rotational indexing along rows.
Note
Array must be two-dimensional.
flex_select_1d_nb function¶
Select an element of an array as if it has been broadcast against rows or columns.
Note
Array must be one-dimensional.
flex_select_1d_pc_nb function¶
Select an element of an array as if it has been broadcast against columns.
Can use rotational indexing along columns.
Note
Array must be one-dimensional.
flex_select_1d_pr_nb function¶
Select an element of an array as if it has been broadcast against rows.
Can use rotational indexing along rows.
Note
Array must be one-dimensional.
flex_select_2d_col_nb function¶
Select a column from a flexible 2-dim array. Returns a 2-dim array.
Note
Array must be two-dimensional.
flex_select_2d_row_nb function¶
Select a row from a flexible 2-dim array. Returns a 2-dim array.
Note
Array must be two-dimensional.
flex_select_col_nb function¶
Select a column from a flexible 2-dim array. Returns a 1-dim array.
Note
Array must be two-dimensional.
flex_select_nb function¶
Select element of an array as if it has been broadcast rows and columns.
Can use rotational indexing along rows and columns.
Note
Array must be two-dimensional.
flex_select_row_nb function¶
Select a row from a flexible 2-dim array. Returns a 1-dim array.
Note
Array must be two-dimensional.