Implemented algebraic functions for the modes (treated as vectors, implemented *, / by numbers and + - by other modes).
Additionally, I included as given here functions for power, inner product, mode coefficients, and coupling ratios.
Finally, I included an example.
My only problem currently is I am normalizing to have unit power, yet the Lumerical formulate has a 1/2 that shouldn't exist if the inner product is to be unit. I could have made a mistake here though.
See #6
Implemented algebraic functions for the modes (treated as vectors, implemented *, / by numbers and + - by other modes).
Additionally, I included as given here functions for power, inner product, mode coefficients, and coupling ratios.
Finally, I included an example.
My only problem currently is I am normalizing to have unit power, yet the Lumerical formulate has a 1/2 that shouldn't exist if the inner product is to be unit. I could have made a mistake here though.