|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectHUMath.Algebra.C
public class C
komplexe Zahlen mit double-Komponenten
Field Summary | |
---|---|
double |
x
|
double |
y
|
Constructor Summary | |
---|---|
C(double real)
This is the constructor. |
|
C(double real,
double imaginary)
This is the constructor. |
Method Summary | |
---|---|
static double |
abs(C z)
Betrag |
static C |
add(C a,
C b)
This is a static class method. |
static C |
assign(double a)
Realteil besetzen, Imaginaeteil = 0 |
static double |
bet2(C x)
Quadrat des Betrags |
static C |
conj(C a)
Konjugierte |
static C |
copy(C z)
kopieren |
static C |
div(C a,
C b)
A static class method to divide C numbers |
static C |
exp(C a)
exp-Reihe |
static C |
expC(C z)
Exponentialfunktion |
static C |
expSeries(C z)
|
static C |
fromPolar(C p)
kartesische Darstellung |
double |
imaginary()
An accessor method. |
static C |
logC(C z)
Logarithmus |
double |
magnitude()
Betrag |
static void |
main(java.lang.String[] a)
|
C |
mult(C a)
An instance method to multiply C numbers |
static C |
mult(C a,
C b)
multiplizieren |
static C |
neg(C a)
negieren |
static C |
power(C z,
int n)
potenzieren |
static C |
read()
lesen |
double |
real()
An accessor method. |
static C |
rootn(C z,
int n)
n-te Wurzel |
static C |
sqrt(C a)
Quadratwurzel, v. |
static C |
sub(C a,
C b)
subtrahieren |
static C |
toPolar(C z)
Polardarstellung |
java.lang.String |
toString()
This method converts a C to a string. |
static void |
write(C z)
schreiben |
static boolean |
zero(C x)
null ? |
static C |
zufall(double f)
Zufallszahl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double x
public double y
Constructor Detail |
---|
public C(double real, double imaginary)
public C(double real)
Method Detail |
---|
public double real()
public double imaginary()
public static double bet2(C x)
public static C assign(double a)
public static C zufall(double f)
public static boolean zero(C x)
public static C neg(C a)
public java.lang.String toString()
toString
in class java.lang.Object
public static C add(C a, C b)
public static C sub(C a, C b)
public static C conj(C a)
public static double abs(C z)
public double magnitude()
public static C mult(C a, C b)
public static C div(C a, C b)
public C mult(C a)
public static C read()
public static void write(C z)
public static C toPolar(C z)
public static C fromPolar(C p)
public static C rootn(C z, int n)
public static C sqrt(C a)
public static C copy(C z)
public static C power(C z, int n)
public static C expSeries(C z)
public static C exp(C a)
public static C expC(C z)
public static C logC(C z)
public static void main(java.lang.String[] a)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |