class_docstr: Class for Hermitian metrics.
  
  As a Riemannian metric, the Hermitian 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 Hermitian space.
docstr: Compute norm of a vector.
  
  Norm of a vector associated to the inner product
  at the tangent space at a base point.
  
  Note: This only works for positive-definite
  Riemannian metrics and inner products.
  
  Parameters
  ----------
  vector : array-like, shape=[..., dim]
      Vector.
  base_point : array-like, shape=[..., dim]
      Base point.
      Optional, default: None.
  
  Returns
  -------
  norm : array-like, shape=[...,]
      Norm.
docstr_tok: ["Compute","norm","of","a","vector",".","Norm","of","a","vector","associated","to","the","inner","product","at","the","tangent","space","at","a","base","point",".","Note",":","This","only","works","for","positive-definite","Riemannian","metrics","and","inner","products",".","Parameters","--","--","--","--","--","vector",":","array-like",",","shape=","[","...",",","dim","]","Vector",".","base_point",":","array-like",",","shape=","[","...",",","dim","]","Base","point",".","Optional",",","default",":","None",".","Returns","--","--","--","-","norm",":","array-like",",","shape=","[","...",",","]","Norm","."]
code: def norm(vector, base_point=None):
      """Compute norm of a vector.
  
      Norm of a vector associated to the inner product
      at the tangent space at a base point.
  
      Note: This only works for positive-definite
      Riemannian metrics and inner products.
  
      Parameters
      ----------
      vector : array-like, shape=[..., dim]
          Vector.
      base_point : array-like, shape=[..., dim]
          Base point.
          Optional, default: None.
  
      Returns
      -------
      norm : array-like, shape=[...,]
          Norm.
      """
      return gs.linalg.norm(vector, axis=-1)
  
file_path: geomstats/geomstats/geometry/hermitian.py
imports: import geomstats.backend
  from geomstats.geometry.base import ComplexVectorSpace
  from geomstats.geometry.complex_riemannian_metric import ComplexRiemannianMetric
label_desc: Use image node_id 3 for calling the HermitianMetric obj's underlying member method code with example usage: obj.norm(vector, base_point) and returns: gs