bugGNU Octave - Bugs: bug #44988, [octave forge] (linear-algebra)...

 
 

bug #44988: [octave forge] (linear-algebra) rotv returns inverse of correct result

Submitter:  nharvey <thenerd247>
Submitted:  Fri 01 May 2015 10:11:50 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  nharvey Open/Closed:  * Open
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 02 May 2015 04:57:48 PM UTC, comment #1: 

Thanks for your report.

Can you come up with a patch, or even better, a Mercurial changeset, if possible with some tests?

Philip Nienhuis <philipnienhuis>
Group Member
Fri 01 May 2015 10:11:50 PM UTC, original submission:  

rotv([0,0,1],pi()/2) (which is assumed to be a PI/2 rotation about the z+ axis) returns:

  1. 1 0

-1 0 0

  1. 0 1


as apposed to the correct result:

  1. -1 0

1  0 0

  1.  0 1


Which is the inverse what rotv returns. It appears that this also occurs for rotv([1,0,0],-pi()/2).

nharvey <thenerd247>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by thenerd247 (Submitted the item)
  • -email is unavailable- added by thenerd247
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-13 jwe SummaryLinear-Algebra Function: rotv returns inverse of correct result [octave forge] (linear-algebra) rotv returns inverse of correct result
    2015-05-01 thenerd247 Carbon-Copy- Added thenerd247

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code