Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4210256

Complex Numbers and Generic Power Calculation

XMLWordPrintable

    • x86
    • windows_95



      Name: dbT83986 Date: 02/09/99


      I have created a couple of classes that are robust and very useful for Engineers and Mathematicians. One of these, Imaginary.java (in my
      vernacular) generates complex numbers, allows for the addition, subtraction, and multiplication of these numbers; and calculates the precise
      value of x^y when x is complex and y is any real number. The second class, I call it GeneralPower, fills the void in the Math.pow class, by allowing
      the generation of complex numbers (such as the square root of -1), and can return either Real Number results, or Complex Number results,
      depending on the user's desire. This GeneralPower, also calculates x^y when x is negative for any real y. If you are interested in these classes,
      please let me know. I think that they could easily be incorporated into the Math class of the JDK. I don't know how else one would go about
      submitting code for JDK
      inclusion...
      (Review ID: 48393)
      ======================================================================

            darcy Joe Darcy
            dblairsunw Dave Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: