code: def _get_symmat(size):
      rng = np.random.default_rng(1)
      A = rng.integers(1, 21, (size, size))
      lA = np.tril(A)
      return lA.dot(lA.T)
  
imports: from __future__ import annotations
  import sys
  import pytest
  import numpy
  import scipy.linalg
  from packaging.version import parse
  import dask.array
  from dask.array.linalg import qr, sfqr, svd, svd_compressed, tsqr
  from dask.array.numpy_compat import _np_version
  from dask.array.utils import assert_eq, same_keys, svd_flip
label_desc: Use image node_id 25 for calling a global function with example usage: _get_symmat(size) and returns: lA