Package:

## Class float[][]

- - ### Methods Summary

    Methods
    Return type | Name and parameters
    --- | ---
    `Iterator` | `columns()` An iterator of the columns of the array.
    `List` | `flatten()` Flattens a 2D array into a new collection.
    `float[][]` | `transpose()` A transpose method for 2D float arrays.

- - ### Methods Detail

    - #### public Iterator columns()

      An iterator of the columns of the array.

          float[][] nums = [[1.0f, 2.0f], [10.0f, 20.0f]]
          assert nums.transpose() == nums.columns().toList()

      Returns:
        the iterator

    - #### public List flatten()

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

      Example usage:

          float[][] 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 float[][] transpose()

      A transpose method for 2D float arrays.

      Example usage:

          float[][] floats = [[1.0f, 10.0f], [2.0f, 20.0f]]
          float[][] expected = [[1.0f, 2.0f], [10.0f, 20.0f]]
          def result = floats.transpose()
          assert result == expected
          assert floats.class.componentType == result.class.componentType

      Returns:
        the transposed 2D float array
      Since:
        5.0.0