Hi dear Steven and meep users, I want to convert imaginary output to a real number or zero in meep. For example checking in a loop if x is imaginary set it to zero
I tired "if complex? x" conditon but it is not working. Can anybody help or suggest how to write the code for it. Regards, Yousuf Khan
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss