docstr: Tests unconvergence after maximum number of iterations.
docstr_tok: ["Tests","unconvergence","after","maximum","number","of","iterations","."]
code: def testQdwhUnconvergedAfterMaxNumberIterations(self, m, n, log_cond):
      """Tests unconvergence after maximum number of iterations."""
      a = jnp.triu(jnp.ones((m, n)))
      u, s, v = jnp.linalg.svd(a, full_matrices=False)
      cond = 10**log_cond
      s = jnp.expand_dims(
          jnp.linspace(cond, 1, min(m, n)), range(u.ndim - 1)
      )
      with jax.numpy_dtype_promotion("standard"):
          a = (u * s) @ v
      is_hermitian = _check_symmetry(a)
      max_iterations = 2
  
      _, _, actual_num_iterations, is_converged = qdwh.qdwh(
          a, is_hermitian=is_hermitian, max_iterations=max_iterations
      )
  
      with self.subTest("Number of iterations."):
          self.assertEqual(max_iterations, actual_num_iterations)
  
      with self.subTest("Converged."):
          self.assertFalse(is_converged)
  
file_path: jax/tests/qdwh_test.py
imports: import functools
  import jax
  import jax.numpy
  import numpy
  import scipy.linalg
  from jax._src import config
  from jax._src import test_util
  from jax._src.lax import qdwh
  from absl.testing import absltest
label_desc: Use image node_id 1 for calling the QdwhTest obj's underlying member method code with example usage: obj.testQdwhUnconvergedAfterMaxNumberIterations(m, n, log_cond) without return types