Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ddlm-group] Complex numbers

I would suggest handling real, complex and quaternion in one unified notation using i, j, and k for the three square roots of -1 following the
conventions in the wikipedia article, https://en.wikipedia.org/wiki/Quaternion, and the Frobenius theorem.  
Regards,
  Herbert

On Mon, Jun 16, 2025 at 2:13 AM James H <[email protected]> wrote:
Dear DDLm group,

We currently do not define a format for complex or imaginary numbers either in the CIF2 syntax or in the DDL dictionary. I would like to suggest that we enhance the DDL dictionary to state that, where a format does not have a native definition for complex numbers, they should be formed as <R>+/-<I>j, where <R> and <I> are real numbers (the real and imaginary parts respectively). This is the Python syntax. I'd suggest we don't allow appended su for R and I in the case of complex numbers, instead allowing only a separate _su data name. But happy to be overruled on that one.

Any objections?
James.
--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
_______________________________________________
ddlm-group mailing list
[email protected]
https://mailman.iucr.org/cgi-bin/mailman/listinfo/ddlm-group
_______________________________________________
ddlm-group mailing list
[email protected]
https://mailman.iucr.org/cgi-bin/mailman/listinfo/ddlm-group

Reply to: [list | sender only]