public final class DComplexMult extends Object implements DComplexDComplexFunction
Modifier and Type | Field and Description |
---|---|
double[] |
multiplicator
Public read/write access to avoid frequent object construction.
|
Modifier and Type | Method and Description |
---|---|
double[] |
apply(double[] a)
Returns the result of the function evaluation.
|
double[] |
apply(double re,
double im)
Returns the result of the function evaluation.
|
static DComplexMult |
div(double[] constant)
a / constant.
|
static DComplexMult |
mult(double[] constant)
a * constant.
|
public double[] multiplicator
public final double[] apply(double[] a)
apply
in interface DComplexDComplexFunction
a
- an argument passed to the function.public final double[] apply(double re, double im)
apply
in interface DComplexDComplexFunction
re
- real part of an argument passed to the functionim
- imaginary part of an argument passed to the functionpublic static DComplexMult div(double[] constant)
public static DComplexMult mult(double[] constant)
Jump to the Parallel Colt Homepage