Basis.make_intersect_basis

Basis.make_intersect_basis(*other, tol=1e-12, name=None, use_svd=True, cache=True)[source]

Make the smallest orthonormal basis, which spans the intersecting space of both the basis and another basis.

Parameters
  • *other – One other basis.

  • tol (float) – Tolerance used to construct the intersection basis via the eigendecomposition of a projection matrix. Default: 1e-12.

  • use_svd (bool) – Perform singular-value decomposition (SVD) instead of eigendecompostion, if possible. Default: True.

  • name (str | None) – Name of intersection basis. Default: None.

  • cache (bool) – Cache resulting intersection basis, for future use. Default: True.

  • other (Basis) –

Returns

Intersection basis, spanning intersecting space of all input bases.

Return type

Basis