public interface BinaryOperation extends IOperation
Modifier and Type | Interface and Description |
---|---|
static class |
BinaryOperation.Stub
Stub class where only three methods need to be overridden:
BinaryOperation.Stub.complexOperate(double[], double, double, double, double) ,
BinaryOperation.Stub.toString(String, String) |
Modifier and Type | Method and Description |
---|---|
boolean |
booleanOperate(long a,
long b) |
void |
complexOperate(double[] out,
double ra,
double ia,
double rb,
double ib) |
double |
doubleOperate(double a,
double b) |
long |
longOperate(long a,
long b) |
String |
toString(String a,
String b) |
boolean booleanOperate(long a, long b)
a
- first operandb
- second operandlong longOperate(long a, long b)
a
- first operandb
- second operanddouble doubleOperate(double a, double b)
a
- first operandb
- second operandvoid complexOperate(double[] out, double ra, double ia, double rb, double ib)
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 operandCopyright © 2014–2022 Eclipse Foundation. All rights reserved.