Hello,
This is my first post. Apologies if I am breaking any guidelines.
I am trying to perform operations on arrays and matrices of complex numbers.
I have been unable to access the javascript math.complex libraries, so I am using CSM Built-in Math instead. Is there a way to include math.complex for javascript?
I have attached an image of an activity diagram which reads a structural feature, typed as Complex and given a default value. I am trying to send that complex value to an opaque action, and use the real() and imag() functions to perform operations on the data within the opaque action, however I get an error "Invalid input parameter in function real" I have the output and input pins typed as Complex.
Any help would be greatly appreciated as I need to perform many operations on arrays and matrices of complex numbers in order to simulate waveforms.
Thanks