Package:

## Class double[][]

- - ### Methods Summary

    Methods
    Return type | Name and parameters
    --- | ---
    `List` | `flatten()` Flattens a 2D array into a new collection.
    `double[][]` | `transpose()` A transpose method for 2D double arrays.

- - ### Methods Detail

    - #### public List flatten()

      Flattens a 2D array into a new collection. The items are copied row by row.

      Example usage:

          double[][] array = [[0.0f, 1.0f], [2.0f, 3.0f]]
          assert array.flatten() == [0.0f, 1.0f, 2.0f, 3.0f]

      Returns:
        a Collection of the array elements
      Since:
        5.0.0

    - #### public double[][] transpose()

      A transpose method for 2D double arrays.

      Example usage:

          double[][] doubles = [[1.0d, 10.0d], [2.0d, 20.0d]]
          double[][] expected = [[1.0d, 2.0d], [10.0d, 20.0d]]
          def result = doubles.transpose()
          assert result == expected
          assert doubles.class.componentType == result.class.componentType

      Returns:
        the transposed 2D double array
      Since:
        3.0.8