Discussion

Discussion#

Background on why unxt works the way it does. These pages are for reading away from the keyboard โ€” they discuss trade-offs and alternatives rather than giving instructions.

If you want to get something done, see the How-to guides; if you want to look something up, see the Reference.

  • The sharp bits โ€” the behaviours that surprise people, and why each one is inherent rather than a bug.

  • Why Quantity is not parametric โ€” why the default Quantity stopped encoding dimension in its type, and why the usual jit-cache explanation is wrong.

  • Equality and equivalence โ€” why == and unxt.equivalent answer different questions, and what that has to do with jax.jit.

  • About unxtโ€™s API conventions โ€” why every operation has both a functional and an object-oriented form, and why the operator argument comes first.