code: def test_start_stop_array(self):
      # Try to use all special cases.
      start = array([1.0e0, 32.0, 1j, -4j, 1 + 1j, -1])
      stop = array([1.0e4, 2.0, 16j, -324j, 10000 + 10000j, 1])
      t1 = geomspace(start, stop, 5)
      t2 = stack(
          [
              geomspace(_start, _stop, 5)
              for _start, _stop in zip(start, stop)
          ],
          axis=1,
      )
      assert_equal(t1, t2)
      t3 = geomspace(start, stop[0], 5)
      t4 = stack(
          [geomspace(_start, stop[0], 5) for _start in start], axis=1
      )
      assert_equal(t3, t4)
      t5 = geomspace(start, stop, 5, axis=-1)
      assert_equal(t5, t2.T)
  
imports: import pytest
  from numpy import logspace, linspace, geomspace, dtype, array, sctypes, arange, isnan, ndarray, sqrt, nextafter, stack, errstate
  from numpy.testing import assert_, assert_equal, assert_raises, assert_array_equal, assert_allclose
label_desc: Use image node_id 7 for calling the TestGeomspace obj's underlying member method code with example usage: obj.test_start_stop_array() without return types