code: def test_burkardt_10(self):
      # This is Ward's example #1.
      # It is defective and nonderogatory.
      A = np.array(
          [
              [4, 2, 0],
              [1, 4, 1],
              [1, 1, 4],
          ],
          dtype=float,
      )
      assert_allclose(sorted(scipy.linalg.eigvals(A)), (3, 3, 6))
      desired = np.array(
          [
              [147.8666224463699, 183.7651386463682, 71.79703239999647],
              [127.7810855231823, 183.7651386463682, 91.88256932318415],
              [127.7810855231824, 163.6796017231806, 111.9681062463718],
          ],
          dtype=float,
      )
      actual = expm(A)
      assert_allclose(actual, desired)
  
imports: import math
  import numpy
  from numpy import array, eye, exp, random
  from numpy.testing import assert_allclose, assert_, assert_array_almost_equal, assert_equal, assert_array_almost_equal_nulp, suppress_warnings
  from scipy.sparse import csc_matrix, csc_array, SparseEfficiencyWarning
  from scipy.sparse._construct import eye
  from scipy.sparse.linalg._matfuncs import expm, _expm, ProductOperator, MatrixPowerOperator, _onenorm_matrix_power_nnm, matrix_power
  from scipy.sparse._sputils import matrix
  from scipy.linalg import logm
  from scipy.special import factorial, binom
  import scipy.sparse
  import scipy.sparse.linalg
label_desc: Use image node_id 23 for calling the TestExpM obj's underlying member method code with example usage: obj.test_burkardt_10() without return types