[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #8595] quaternion - new methods and expand
From: |
Willem Atsma |
Subject: |
[Octave-patch-tracker] [patch #8595] quaternion - new methods and expanded functions, tests |
Date: |
Sat, 17 Jan 2015 00:29:37 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
URL:
<http://savannah.gnu.org/patch/?8595>
Summary: quaternion - new methods and expanded functions,
tests
Project: GNU Octave
Submitted by: tanglebridge
Submitted on: Sat 17 Jan 2015 12:29:36 AM GMT
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
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:
q2rot.m
Function now accepts multiple quaternions as input. Minor adjustments.
rot2q.m
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.
rotm2q.m
Convert a 3x3 rotation matrix to a unit quaternion.
@quaternion/mean.m
Take the mean of a quaternion object - functions like normal mean but on each
component.
@quaternion/numel.m
Number of quaternions in an object.
test_quaternion.m
Updated with new tests.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 17 Jan 2015 12:29:36 AM GMT Name: new_quaternion_features.diff
Size: 6kB By: tanglebridge
Patches with new features.
<http://savannah.gnu.org/patch/download.php?file_id=32855>
-------------------------------------------------------
Date: Sat 17 Jan 2015 12:29:36 AM GMT Name: new_quaternion_features2.diff
Size: 5kB By: tanglebridge
Patches with new features.
<http://savannah.gnu.org/patch/download.php?file_id=32856>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8595>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-patch-tracker] [patch #8595] quaternion - new methods and expanded functions, tests,
Willem Atsma <=