Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-863

new Quaternion class added in complex package

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Labels:
      None

      Description

      This patch provides a new class for the mathematical object "Quaternion" in the complex package.

      This quaternion is considered as a mathematical object (the Hamilton's hypercomplex number).
      Note that it's not a rotation quaternion which has to be a quaternion of norm one. Although this feature could be used for a getter in the Rotation class.

      This patch provides also some improvements in Precision class : a "double comparison epsilon" and a method to compute relative comparison.

      (Please, note that's it's my first contribution, and I apologize in advance for my mistakes…)

        Attachments

        1. quaternion_adjustments.patch
          7 kB
          Julien Anxionnat
        2. quaternion_v2.patch
          31 kB
          Julien Anxionnat
        3. quaternion.patch
          35 kB
          Julien Anxionnat

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              julien_a Julien Anxionnat
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: