column_row_of_three#
- pyflct.utils.column_row_of_three(array1, array2, array3)[source]#
Takes three arrays and swaps the order in which they were stored, changing from column major to row major and not vice-versa. This may change the values stored in the array as the arrays are first converted to a binary format and then the order change takes place.
- Parameters:
array1 (
numpy.ndarray
) – The first array whose order is to be changed.array2 (
numpy.ndarray
) – The second array whose order is to be changed.array3 (
numpy.ndarray
) – The third array whose order is to be changed.
- Returns:
tuple
– It returns the two input arrays after changing their order from column major to row major.