Basis.make_union_basis

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

Make the smallest orthonormal basis, which spans both the basis and one or more other bases.

Parameters
  • *other – One or more other bases.

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

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

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

  • other (Basis) –

Returns

Union basis, spanning joined space of all input bases.

Return type

Basis