bugGNU Octave - Bugs: bug #48288, [octave-forge] (quaternion)...

 
 

bug #48288: [octave-forge] (quaternion) logarithm of a quaternion with only a positive real component

Submitted by:  None
Submitted on:  Tue 21 Jun 2016 07:09:50 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Patch SubmittedAssigned to: None
Originator Name: David WangOriginator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 26 Jun 2016 06:42:02 PM UTC, comment #2:

Please review the attached cs.
There's a fix of log and exp.

Adding package maintainer to CC list

(file #37586)

Avinoam Kalma <avinoam>
Project Member
Tue 21 Jun 2016 08:26:49 PM UTC, comment #1:

Thanks for the bug report. Updating the bug metadata for the quaternion package, and example follows:

Can you provide a patch against the quaternion package to fix this?

Mike Miller <mtmiller>
Project Administrator
Tue 21 Jun 2016 07:09:50 PM UTC, original submission:

taking the logarithm of a quaternion with only a positive real component(ex. (2, 0i, 0j, 0k)) causes the built in logarithm function of the quaternion package to return the coefficients of the unreal components as NaN. Based on my understanding of complex numbers, the coefficients should be set to 0 since taking the logarithm of a complex number with 0 imaginary components is equivalents to taking the logarithm of a real number.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #37586:  bug48288.cs added by avinoam (2KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by avinoam (Updated the item)
  • -unavailable- added by avinoam
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 11 Aug 2017 05:37:30 PM UTCjweSummaryquaternion package: logarithm of a quaternion with only a positive real component=>[octave-forge] (quaternion) logarithm of a quaternion with only a positive real component
    Sun 26 Jun 2016 06:42:02 PM UTCavinoamAttached File-=>Added bug48288.cs, #37586
      Severity1 - Wish=>3 - Normal
      StatusConfirmed=>Patch Submitted
      Carbon-Copy-=>Added -unavailable-
    Tue 21 Jun 2016 08:26:49 PM UTCmtmillerSeverity3 - Normal=>1 - Wish
      StatusNone=>Confirmed
      Operating SystemMicrosoft Windows=>Any
      SummaryLogarithm of a quaternion with only a positive real component=>quaternion package: logarithm of a quaternion with only a positive real component

    Back to the top


    Powered by Savane 3.1-cleanup1