net.sourceforge.kamiwaai.geometricalgebra
Class ComplexNumber

java.lang.Object
  extended bynet.sourceforge.kamiwaai.geometricalgebra.ComplexNumber

class ComplexNumber
extends java.lang.Object


Field Summary
static ComplexNumber ZERO
           
 
Constructor Summary
ComplexNumber(ComplexNumber complex)
           
ComplexNumber(double realPart, double imaginaryPart)
           
 
Method Summary
 ComplexNumber add(ComplexNumber cn)
           
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 double ImaginaryPart()
           
 double Magnitude()
           
 ComplexNumber mult(ComplexNumber cn)
           
 double RealPart()
           
 ComplexNumber sub(ComplexNumber cn)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ZERO

public static final ComplexNumber ZERO
Constructor Detail

ComplexNumber

public ComplexNumber(double realPart,
                     double imaginaryPart)

ComplexNumber

public ComplexNumber(ComplexNumber complex)
Method Detail

RealPart

public double RealPart()

ImaginaryPart

public double ImaginaryPart()

Magnitude

public double Magnitude()

add

public ComplexNumber add(ComplexNumber cn)

sub

public ComplexNumber sub(ComplexNumber cn)

mult

public ComplexNumber mult(ComplexNumber cn)

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()


Copyright © 2004 Fukui University. All Rights Reserved.