Package pypower :: Module set_reorder
[hide private]
[frames] | no frames]

Module set_reorder

source code

Assigns B to A with one of the dimensions of A indexed.

Functions [hide private]
 
set_reorder(A, B, idx, dim=0)
Assigns B to A with one of the dimensions of A indexed.
source code
Variables [hide private]
  __package__ = 'pypower'
Function Details [hide private]

set_reorder(A, B, idx, dim=0)

source code 

Assigns B to A with one of the dimensions of A indexed.

Returns:
A after doing A(:, ..., :, IDX, :, ..., :) = B where DIM determines in which dimension to place the IDX.

See Also: get_reorder

Authors:
Ray Zimmerman (PSERC Cornell), Richard Lincoln