cern.jet.math.tfcomplex
Class FComplexMult
- java.lang.Object
-
- cern.jet.math.tfcomplex.FComplexMult
-
- All Implemented Interfaces:
- FComplexFComplexFunction
public final class FComplexMult extends java.lang.Object implements FComplexFComplexFunction
Only for performance tuning of compute intensive linear algebraic computations. Constructs functions that return one of- a * constant
- a / constant
-
-
Field Summary
Fields Modifier and Type Field and Description float[]multiplicatorPublic read/write access to avoid frequent object construction.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description float[]apply(float[] a)Returns the result of the function evaluation.float[]apply(float re, float im)Returns the result of the function evaluation.static FComplexMultdiv(float[] constant)a / constant.static FComplexMultmult(float[] constant)a * constant.
-
-
-
Field Detail
-
multiplicator
public float[] multiplicator
Public read/write access to avoid frequent object construction.
-
-
Method Detail
-
apply
public final float[] apply(float[] a)
Returns the result of the function evaluation.- Specified by:
applyin interfaceFComplexFComplexFunction- Parameters:
a- an argument passed to the function.- Returns:
- the result of the function.
-
apply
public final float[] apply(float re, float im)Returns the result of the function evaluation.- Specified by:
applyin interfaceFComplexFComplexFunction- Parameters:
re- real part of an argument passed to the functionim- imaginary part of an argument passed to the function- Returns:
- the result of the function.
-
div
public static FComplexMult div(float[] constant)
a / constant.
-
mult
public static FComplexMult mult(float[] constant)
a * constant.
-
-
DMelt 3.0 © DataMelt by jWork.ORG