public static class Operations.Exponentiation extends BinaryOperation.Stub
BinaryOperation.Stub
Constructor and Description |
---|
Exponentiation() |
Modifier and Type | Method and Description |
---|---|
void |
complexOperate(double[] out,
double ra,
double ia,
double rb,
double ib) |
double |
doubleOperate(double a,
double b) |
String |
toString() |
String |
toString(String a,
String b) |
booleanOperate, longOperate
public Exponentiation()
public double doubleOperate(double a, double b)
doubleOperate
in interface BinaryOperation
doubleOperate
in class BinaryOperation.Stub
a
- first operandb
- second operandpublic void complexOperate(double[] out, double ra, double ia, double rb, double ib)
complexOperate
in interface BinaryOperation
complexOperate
in class BinaryOperation.Stub
out
- holds (ra, ia) op (rb, ib)ra
- real part of first operandia
- imaginary part of first operandrb
- real part of second operandib
- imaginary part of second operandpublic String toString(String a, String b)
toString
in interface BinaryOperation
toString
in class BinaryOperation.Stub
a
- first operandb
- second operandCopyright © 2014–2022 Eclipse Foundation. All rights reserved.