acoustotreams.permute

acoustotreams.permute(n=1, *, basis, k0=None, material=None, modetype=None)[source]

Permutation matrix.

Permute the axes of a scalar plane-wave basis expansion.

Parameters:
  • n (int, optional) – Number of permutations. Defaults to 1.

  • basis (ScalarBasisSet or tuple) – Basis set. If it is a tuple of two basis sets, the output and input modes are taken accordinglyp; otherwise, both sets of modes are the same.

  • k0 (float, optional) – Angular wavenumber in the air.

  • material (AcousticMaterial or tuple, optional) – Material parameters. Defaults to the air.

  • modetype (str, optional) – Mode type.