Mercurial > forge
changeset 11071:6a70ec067927 octave-forge
quaternion: minor touch ups
author | paramaniac |
---|---|
date | Sun, 14 Oct 2012 03:20:24 +0000 |
parents | 892af56ed882 |
children | 574d38ca3d69 |
files | main/quaternion/NEWS main/quaternion/devel/RELEASE_PACKAGE main/quaternion/inst/@quaternion/subsasgn.m main/quaternion/inst/@quaternion/subsref.m |
diffstat | 4 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/main/quaternion/NEWS Sat Oct 13 20:05:00 2012 +0000 +++ b/main/quaternion/NEWS Sun Oct 14 03:20:24 2012 +0000 @@ -1,6 +1,14 @@ Summary of important user-visible changes for releases of the quaternion package =============================================================================== +quaternion-2.0.1 Release Date: 2012-xx-yy Release Manager: Lukas Reichlin +=============================================================================== + +** doc/quaternion.pdf + Revised PDF manual. There is now a function index at the end of the manual. + + +=============================================================================== quaternion-2.0.0 Release Date: 2012-03-28 Release Manager: Lukas Reichlin ===============================================================================
--- a/main/quaternion/devel/RELEASE_PACKAGE Sat Oct 13 20:05:00 2012 +0000 +++ b/main/quaternion/devel/RELEASE_PACKAGE Sun Oct 14 03:20:24 2012 +0000 @@ -4,9 +4,10 @@ USAGE: * adapt all paths to your machine * update version number in the commands below * adapt version number and release date in DESCRIPTION - * update doc/NEWS + * update NEWS * adapt version number in quaternion.tex * update doc/quaternion.pdf + * update doc/quaternion.tex & doc/functions.texi * copy-paste entire block at once to the terminal * follow instructions on <http://octave.sourceforge.net/developers.html>
--- a/main/quaternion/inst/@quaternion/subsasgn.m Sat Oct 13 20:05:00 2012 +0000 +++ b/main/quaternion/inst/@quaternion/subsasgn.m Sun Oct 14 03:20:24 2012 +0000 @@ -45,7 +45,7 @@ num2str (size (val), "%d "), num2str (size (subsref (q.w, idx(2:end))), "%d ")); endif switch (tolower (idx(1).subs)) - case {"w", "s"} + case {"w", "s", "e"} q.w = subsasgn (q.w, idx(2:end), val); case {"x", "i"} q.x = subsasgn (q.x, idx(2:end), val);
--- a/main/quaternion/inst/@quaternion/subsref.m Sat Oct 13 20:05:00 2012 +0000 +++ b/main/quaternion/inst/@quaternion/subsref.m Sun Oct 14 03:20:24 2012 +0000 @@ -30,7 +30,7 @@ switch (s(1).type) case "." # q.w switch (tolower (s(1).subs)) - case {"w", "s"} # scalar part + case {"w", "s", "e"} # scalar part ret = subsref (q.w, s(2:end)); case {"x", "i"} ret = subsref (q.x, s(2:end));