class_docstr: Class for Euclidean metrics.
  
  As a Riemannian metric, the Euclidean metric is:
  
  - flat: the inner-product is independent of the base point;
  - positive definite: it has signature (dimension, 0, 0),
    where dimension is the dimension of the Euclidean space.
class_docstr_tok: ["Class","for","Euclidean","metrics",".","As","a","Riemannian","metric",",","the","Euclidean","metric","is",":","-","flat",":","the","inner-product","is","independent","of","the","base","point",";","-","positive","definite",":","it","has","signature","(","dimension",",","0",",","0",")",",","where","dimension","is","the","dimension","of","the","Euclidean","space","."]
docstr: Compute the parallel transport of a tangent vector.
  
  On a Euclidean space, the parallel transport of a (tangent) vector
  returns the vector itself.
  
  Parameters
  ----------
  tangent_vec : array-like, shape=[..., dim]
      Tangent vector at base point to be transported.
  base_point : array-like, shape=[..., dim]
      Point on the manifold. Point to transport from.
      Optional, default: None
  direction : array-like, shape=[..., dim]
      Tangent vector at base point, along which the parallel transport
      is computed.
      Optional, default: None.
  end_point : array-like, shape=[..., dim]
      Point on the manifold. Point to transport to.
      Optional, default: None.
  
  Returns
  -------
  transported_tangent_vec: array-like, shape=[..., dim]
      Transported tangent vector at `exp_(base_point)(tangent_vec_b)`.
docstr_tok: ["Compute","the","parallel","transport","of","a","tangent","vector",".","On","a","Euclidean","space",",","the","parallel","transport","of","a","(","tangent",")","vector","returns","the","vector","itself",".","Parameters","--","--","--","--","--","tangent_vec",":","array-like",",","shape=","[","...",",","dim","]","Tangent","vector","at","base","point","to","be","transported",".","base_point",":","array-like",",","shape=","[","...",",","dim","]","Point","on","the","manifold",".","Point","to","transport","from",".","Optional",",","default",":","None","direction",":","array-like",",","shape=","[","...",",","dim","]","Tangent","vector","at","base","point",",","along","which","the","parallel","transport","is","computed",".","Optional",",","default",":","None",".","end_point",":","array-like",",","shape=","[","...",",","dim","]","Point","on","the","manifold",".","Point","to","transport","to",".","Optional",",","default",":","None",".","Returns","--","--","--","-","transported_tangent_vec",":","array-like",",","shape=","[","...",",","dim","]","Transported","tangent","vector","at","`","exp_","(","base_point",")","(","tangent_vec_b",")","`","."]
code: def parallel_transport(
      self, tangent_vec, base_point=None, direction=None, end_point=None
  ):
      r"""Compute the parallel transport of a tangent vector.
  
      On a Euclidean space, the parallel transport of a (tangent) vector
      returns the vector itself.
  
      Parameters
      ----------
      tangent_vec : array-like, shape=[..., dim]
          Tangent vector at base point to be transported.
      base_point : array-like, shape=[..., dim]
          Point on the manifold. Point to transport from.
          Optional, default: None
      direction : array-like, shape=[..., dim]
          Tangent vector at base point, along which the parallel transport
          is computed.
          Optional, default: None.
      end_point : array-like, shape=[..., dim]
          Point on the manifold. Point to transport to.
          Optional, default: None.
  
      Returns
      -------
      transported_tangent_vec: array-like, shape=[..., dim]
          Transported tangent vector at `exp_(base_point)(tangent_vec_b)`.
      """
      transported_tangent_vec = gs.copy(tangent_vec)
      return repeat_out(
          self._space.point_ndim,
          transported_tangent_vec,
          tangent_vec,
          base_point,
          direction,
          end_point,
          out_shape=self._space.shape,
      )
  
file_path: geomstats/geomstats/geometry/euclidean.py
imports: import geomstats.backend
  from geomstats.geometry.base import VectorSpace
  from geomstats.geometry.riemannian_metric import RiemannianMetric
  from geomstats.vectorization import repeat_out
label_desc: Use image node_id 6 for calling the EuclideanMetric obj's underlying member method code with example usage: obj.parallel_transport(tangent_vec, base_point, direction, end_point) and returns: repeat_out