class_docstr: Class for Grassmann manifolds :math:`Gr(n, p)`.
  
  Parameters
  ----------
  n : int
      Dimension of the Euclidean space.
  p : int
      Dimension of the subspaces.
docstr: Project a vector to a tangent space of the manifold.
  
  Compute the bracket (commutator) of the base_point with
  the skew-symmetric part of vector.
  
  Parameters
  ----------
  vector : array-like, shape=[..., n, n]
      Vector.
  base_point : array-like, shape=[..., n, n]
      Point on the manifold.
  
  Returns
  -------
  tangent_vec : array-like, shape=[..., n, n]
      Tangent vector at base point.
docstr_tok: ["Project","a","vector","to","a","tangent","space","of","the","manifold",".","Compute","the","bracket","(","commutator",")","of","the","base_point","with","the","skew-symmetric","part","of","vector",".","Parameters","--","--","--","--","--","vector",":","array-like",",","shape=","[","...",",","n",",","n","]","Vector",".","base_point",":","array-like",",","shape=","[","...",",","n",",","n","]","Point","on","the","manifold",".","Returns","--","--","--","-","tangent_vec",":","array-like",",","shape=","[","...",",","n",",","n","]","Tangent","vector","at","base","point","."]
code: def to_tangent(self, vector, base_point):
      """Project a vector to a tangent space of the manifold.
  
      Compute the bracket (commutator) of the base_point with
      the skew-symmetric part of vector.
  
      Parameters
      ----------
      vector : array-like, shape=[..., n, n]
          Vector.
      base_point : array-like, shape=[..., n, n]
          Point on the manifold.
  
      Returns
      -------
      tangent_vec : array-like, shape=[..., n, n]
          Tangent vector at base point.
      """
      sym = Matrices.to_symmetric(vector)
      return Matrices.bracket(
          base_point, Matrices.bracket(base_point, sym)
      )
  
imports: import geomstats.backend
  import geomstats.errors
  from geomstats.geometry.base import LevelSet
  from geomstats.geometry.general_linear import GeneralLinear
  from geomstats.geometry.matrices import Matrices, MatricesMetric
  from geomstats.geometry.symmetric_matrices import SymmetricMatrices
  from geomstats.vectorization import repeat_out
label_desc: Use image node_id 8 for calling the Grassmannian obj's underlying member method code with example usage: obj.to_tangent(vector, base_point) and returns: Matrices