mat_mul_polar#

mat_mul_polar(array1: Union[jax.Array, numpy.ndarray, numpy.bool_, numpy.number, bool, int, float, complex], array2: Union[jax.Array, numpy.ndarray, numpy.bool_, numpy.number, bool, int, float, complex]) jax.Array[source]#

Multiplies two polar matrixes together.

Parameters
  • array1 (ndarray) – The first array to multiply.

  • array2 (ndarray) – The second array to multiply.

Notes

The arrays can be one of the following possiblities:

  • #f x n x n x m1 x m2 x 2

  • #f x n x n x m1 x m2 x 1

  • #f x n x n x m1 x 2

  • #f x n x n x m1 x 1

  • #f x n x n x m2 x 2

  • #f x n x n x m2 x 1

  • f x n x n x 2

  • f x n x n

where

  • f is the frequency dimension

  • n is the number of ports

  • m1 is the number of TE modes

  • m2 is the number of TM modes

The last number of dimensions is 2 if polar and 1 if rectangular. Complex rectangular data is of the form a + bj. Complex polar data is of the form [r, theta].