From bug-request at octave dot org Mon Dec 6 09:10:56 2004 Subject: Re: quaternion package does not use line continuation characters (as needed ?) From: David Bateman To: emile van rooyen Cc: bug-octave at bevo dot che dot wisc dot edu Date: Mon, 6 Dec 2004 16:08:24 +0100 This appears to work with 2.1.64, though I can regenerate your problem with 2.1.50. So the solution is to update to a newer version of octave.. D. According to emile van rooyen (on 12/06/04): > The transaction log follows below. Functions qderiv.m, qderivmat.m, > and qtransvmat.m builds matrices but the source does not contain > line continuation characters so the ; seperating rows is ignored (i think). > > GNU Octave, version 2.1.50 (i686-pc-cygwin). > Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 John W. Eaton. > This is free software; see the source code for copying conditions. > There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or > FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. > > Please contribute if you find this software useful. > For more information, visit http://www.octave.org/help-wanted.html > > Report bugs to . > > LOADPATH = /d/home/emile/.octave.d/signal: > suppress_verbose_help_message = 1 > octave:1> demoquat() > Quaternion function demo (c) 1998 A. S. Hodel, a dot s dot hodel at eng dot auburn dot edu > > [ 1] quaternion construction/data extraction > [ 2] simple quaternion functions > [ 3] transformation functions > [ 4] body-inertial frame demo > [ 5] Quit > > pick a number, any number: 4 > Body-inertial frame demo: Look at the source code for > demoquat.m and qcoordinate_plot.m to see how it's done. > ans = 1 > yaw= 0.0000, pitch= 0.0000, > qbi = ( 0.0000)i + (0.0000e+00)j + ( 0.0000)k + ( 1.0000) > = (vector) = [ 0.0000 0.0000 0.0000], th= 0.00 deg > error: operator *: nonconformant arguments (op1 is 9x1, op2 is 3x5) > error: evaluating binary operator `*' near line 59, column 13 > error: evaluating assignment expression near line 59, column 8 > error: called from `qcoordinate_plot' in file > `/opt/octave/share/octave/2.1.50/m/quaternion/qcoordinate_plot.m' > error: evaluating for command near line 230, column 7 > error: evaluating switch command near line 45, column 5 > error: evaluating while command near line 37, column 3 > error: called from `demoquat' in file > `/opt/octave/share/octave/2.1.50/m/quaternion/demoquat.m' > > > > ------------------------------------------------------------- > Octave is freely available under the terms of the GNU GPL. > > Octave's home on the web: http://www.octave.org > How to fund new projects: http://www.octave.org/funding.html > Subscription information: http://www.octave.org/archive.html > ------------------------------------------------------------- -- David Bateman David dot Bateman at motorola dot com Motorola CRM +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax) 91193 Gif-Sur-Yvette FRANCE The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------