class_docstr: Class for Riemannian and pseudo-Riemannian metrics for Complex manifolds.
  
  The associated Levi-Civita connection on the tangent bundle.
class_docstr_tok: ["Class","for","Riemannian","and","pseudo-Riemannian","metrics","for","Complex","manifolds",".","The","associated","Levi-Civita","connection","on","the","tangent","bundle","."]
docstr: Compute the square of the norm of a vector.
  
  Squared norm of a vector associated to the inner product
  at the tangent space at a base point.
  
  Parameters
  ----------
  vector : array-like, shape=[..., dim]
      Vector.
  base_point : array-like, shape=[..., dim]
      Base point.
      Optional, default: None.
  
  Returns
  -------
  sq_norm : array-like, shape=[...,]
      Squared norm.
docstr_tok: ["Compute","the","square","of","the","norm","of","a","vector",".","Squared","norm","of","a","vector","associated","to","the","inner","product","at","the","tangent","space","at","a","base","point",".","Parameters","--","--","--","--","--","vector",":","array-like",",","shape=","[","...",",","dim","]","Vector",".","base_point",":","array-like",",","shape=","[","...",",","dim","]","Base","point",".","Optional",",","default",":","None",".","Returns","--","--","--","-","sq_norm",":","array-like",",","shape=","[","...",",","]","Squared","norm","."]
code: def squared_norm(self, vector, base_point=None):
      """Compute the square of the norm of a vector.
  
      Squared norm of a vector associated to the inner product
      at the tangent space at a base point.
  
      Parameters
      ----------
      vector : array-like, shape=[..., dim]
          Vector.
      base_point : array-like, shape=[..., dim]
          Base point.
          Optional, default: None.
  
      Returns
      -------
      sq_norm : array-like, shape=[...,]
          Squared norm.
      """
      sq_norm = self.inner_product(vector, vector, base_point)
      return gs.real(sq_norm)
  
imports: import geomstats.backend
  from geomstats.geometry.riemannian_metric import RiemannianMetric
label_desc: Use image node_id 2 for calling the ComplexRiemannianMetric obj's underlying member method code with example usage: obj.squared_norm(vector, base_point) and returns: gs