★ wanayoo — archive 1999 http://sourceware.cygnus.com/kawa/api/gnu/math/CComplex.htmlNouvelle recherche | Portail wanayoo

gnu.math
Class CComplex

java.lang.Object
  |
  +--java.lang.Number
        |
        +--gnu.math.Numeric
              |
              +--gnu.math.Quantity
                    |
                    +--gnu.math.Complex
                          |
                          +--gnu.math.CComplex

public class CComplex
extends Complex

General Cartesian Complex number. Use this instead of DComplex if you want exact complex numbers.

See Also:
Serialized Form

Fields inherited from class gnu.math.Numeric
CEILING, FLOOR, ROUND, TRUNCATE
 
Constructor Summary
CComplex(RealNum real, RealNum imag)
           
 
Method Summary
 RealNum im()
           
 RealNum re()
           
 
Methods inherited from class gnu.math.Complex
abs, add, add, addReversed, angle, compare, compare, div, div, divReversed, doubleImagValue, doubleRealValue, doubleValue, equals, equals, exp, imMinusOne, imOne, isExact, isZero, log, longValue, make, make, mul, mul, mulReversed, neg, neg, number, polar, polar, power, sqrt, toString
 
Methods inherited from class gnu.math.Quantity
add, compare, compareReversed, dimensions, div, imValue, make, make, make, mul, reValue, unit
 
Methods inherited from class gnu.math.Numeric
add, div_inv, floatValue, geq, grt, intValue, mul_ident, power, sub, toString
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CComplex

public CComplex(RealNum real,
                RealNum imag)
Method Detail

re

public RealNum re()
Overrides:
re in class Quantity

im

public RealNum im()
Overrides:
im in class Quantity