code: def geodesic_euclid(A, B, alpha=0.5):
      r"""Euclidean geodesic between matrices.
  
      The matrix at position :math:`\alpha` on the Euclidean geodesic
      between two matrices :math:`\mathbf{A}` and :math:`\mathbf{B}` is:
  
      .. math::
          \mathbf{C} = (1-\alpha) \mathbf{A} + \alpha \mathbf{B}
  
      :math:`\mathbf{C}` is equal to :math:`\mathbf{A}` if :math:`\alpha` = 0,
      and :math:`\mathbf{B}` if :math:`\alpha` = 1.
  
      Parameters
      ----------
      A : ndarray, shape (..., n, m)
          First matrices.
      B : ndarray, shape (..., n, m)
          Second matrices.
      alpha : float, default=0.5
          The position on the geodesic.
  
      Returns
      -------
      C : ndarray, shape (..., n, m)
          Matrices on the Euclidean geodesic.
      """
      return (1 - alpha) * A + alpha * B
  
imports: from .base import sqrtm, invsqrtm, powm, logm, expm
label_desc: Use image node_id 1 for calling a global function with example usage: geodesic_euclid(A, B, alpha) and returns: unknown