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 (
ScalarBasisSetor tuple) – Basis set, if it is a tuple of two basis sets the output and input modes are taken accordingly, else both sets of modes are the same.k0 (float, optional) – Wave number.
material (
AcousticMaterialor tuple, optional) – Material parameters.modetype (str, optional) – Wave mode.