From: <par...@us...> - 2011-11-18 08:14:54
|
Revision: 9128 http://octave.svn.sourceforge.net/octave/?rev=9128&view=rev Author: paramaniac Date: 2011-11-18 08:14:47 +0000 (Fri, 18 Nov 2011) Log Message: ----------- quaternion_oo: add uplus Modified Paths: -------------- trunk/octave-forge/extra/quaternion_oo/INDEX Added Paths: ----------- trunk/octave-forge/extra/quaternion_oo/inst/@quaternion/uplus.m Modified: trunk/octave-forge/extra/quaternion_oo/INDEX =================================================================== --- trunk/octave-forge/extra/quaternion_oo/INDEX 2011-11-18 07:08:09 UTC (rev 9127) +++ trunk/octave-forge/extra/quaternion_oo/INDEX 2011-11-18 08:14:47 UTC (rev 9128) @@ -10,9 +10,12 @@ @quaternion/size @quaternion/unit @quaternion/norm + @quaternion/exp + @quaternion/log Overloaded and Arithmetic Operators @quaternion/plus @quaternion/minus + @quaternion/uplus @quaternion/uminus @quaternion/times @quaternion/mtimes @@ -23,12 +26,9 @@ @quaternion/mldivide @quaternion/power @quaternion/mpower - @quaternion/exp - @quaternion/log @quaternion/transpose @quaternion/ctranspose @quaternion/horzcat @quaternion/vertcat @quaternion/subsref @quaternion/eq - Added: trunk/octave-forge/extra/quaternion_oo/inst/@quaternion/uplus.m =================================================================== --- trunk/octave-forge/extra/quaternion_oo/inst/@quaternion/uplus.m (rev 0) +++ trunk/octave-forge/extra/quaternion_oo/inst/@quaternion/uplus.m 2011-11-18 08:14:47 UTC (rev 9128) @@ -0,0 +1,27 @@ +## Copyright (C) 2011 Lukas F. Reichlin +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 3 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see <http://www.gnu.org/licenses/>. + +## -*- texinfo -*- +## Unary plus of a quaternion. Used by Octave for "+q". + +## Author: Lukas Reichlin <luk...@gm...> +## Created: November 2011 +## Version: 0.1 + +function a = uplus (a) + + ## nothing to do here + +endfunction This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |