class_docstr: Pullback metric induced by a diffeomorphism.
class_docstr_tok: ["Pullback","metric","induced","by","a","diffeomorphism","."]
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):
      """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.
      """
      image_point = self.diffeo.diffeomorphism(base_point)
      return self.image_space.metric.squared_norm(
          self.diffeo.tangent_diffeomorphism(
              vector,
              base_point=base_point,
              image_point=image_point,
          ),
          image_point,
      )
  
imports: import geomstats.backend
  from geomstats.geometry.riemannian_metric import RiemannianMetric
  from geomstats.numerics.geodesic import ExpODESolver, LogShootingSolver
  from geomstats.numerics.ivp import GSIVPIntegrator
  from geomstats.vectorization import check_is_batch
label_desc: Use image node_id 4 for calling the PullbackDiffeoMetric obj's underlying member method code with example usage: obj.squared_norm(vector, base_point) and returns: self