patchGNU Octave - Patches: patch #8595, quaternion - new methods and...


patch #8595: quaternion - new methods and expanded functions, tests

Submitted by:  Willem Atsma <tanglebridge>
Submitted on:  Sat 17 Jan 2015 12:29:36 AM UTC  
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 03 Mar 2017 03:07:23 PM UTC, comment #5: 

Thx, closing rpt. as "done"

Philip Nienhuis <philipnienhuis>
Project Member
Fri 03 Mar 2017 12:53:10 PM UTC, comment #4: 


Yes, it's done.

Lukas Reichlin <paramaniac>
Thu 02 Mar 2017 09:17:22 PM UTC, comment #3: 

Can this report be closed? with status "Done"?

Philip Nienhuis <philipnienhuis>
Project Member
Sun 22 Feb 2015 08:54:20 AM UTC, comment #2: 

I applied the patches with some adjustments. They will be part of the upcoming quaternion 2.4.0 release which is in preparation for Octave 4.0. The package is ready for testing and can be found here:

Lukas Reichlin <paramaniac>
Sat 17 Jan 2015 05:08:45 PM UTC, comment #1: 

Adding maintainer of quaternion package to CC list

Carnë Draug <carandraug>
Project Member
Sat 17 Jan 2015 12:29:36 AM UTC, original submission:  

I put them all in two patches - hope this is ok. The first patch has modified files, the second new files. These functions were developed to support a transform class (e.g. robotics) which I hope to submit as a separate package sometime later.

The changes:

Function now accepts multiple quaternions as input. Minor adjustments.

Angle argument may be a vector or matrix, resulting in quaternions of the same size representing rotations around single axis argument. The axis now has to be a column vector. Added basic test for consistency against q2rot.

Convert a 3x3 rotation matrix to a unit quaternion.

Take the mean of a quaternion object - functions like normal mean but on each component.

Number of quaternions in an object.


Updated with new tests.

Willem Atsma <tanglebridge>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #32855:  new_quaternion_features.diff added by tanglebridge (6KiB - text/x-patch - Patches with new features.)
file #32856:  new_quaternion_features2.diff added by tanglebridge (5KiB - text/x-patch - Patches with new features.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by paramaniac (Posted a comment)
  • -email is unavailable- added by carandraug (Lukas Reichlin - maintainer of quaternion package)
  • -email is unavailable- added by tanglebridge (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-03 philipnienhuis StatusNone => Done
        Open/ClosedOpen => Closed
    2015-01-17 carandraug Carbon-Copy- => Added
    2015-01-17 tanglebridge Attached File- => Added new_quaternion_features.diff, #32855
        Attached File- => Added new_quaternion_features2.diff, #32856

    Back to the top

    Powered by Savane 3.5