code: def is_sym_pos_def(X, tol=0.0):
      """Check if all matrices are symmetric positive-definite (SPD).
  
      Parameters
      ----------
      X : ndarray, shape (..., n, n)
          The set of square matrices, at least 2D ndarray.
      tol : float, default 0.0
          Threshold below which eigen values are considered zero.
  
      Returns
      -------
      ret : boolean
          True if all matrices are symmetric positive-definite.
      """
      return is_sym(X) and is_pos_def(X, tol=tol)
  
file_path: pyRiemann/pyriemann/utils/test.py
imports: import numpy
label_desc: Use image node_id 10 for calling a global function with example usage: is_sym_pos_def(X, tol) and returns: unknown