Documentation of 'cern.jet.math.tdcomplex.DComplexPlusMultFirst' Java class
DComplexPlusMultFirst
cern.jet.math.tdcomplex

Class DComplexPlusMultFirst

  • All Implemented Interfaces:
    DComplexDComplexDComplexFunction


    public class DComplexPlusMultFirst
    extends java.lang.Object
    implements DComplexDComplexDComplexFunction
    Only for performance tuning of compute intensive linear algebraic computations. Constructs functions that return one of
    • a*constant + b
    • a*constant - b
    • a/constant + b
    • a/constant - b
    a and b are variables, constant is fixed, but for performance reasons publicly accessible. Intended to be passed to matrix.assign(otherMatrix,function) methods.
    • Field Detail

      • multiplicator

        public double[] multiplicator
        Public read/write access to avoid frequent object construction.
    • Method Detail

      • apply

        public final double[] apply(double[] a,
                                    double[] b)
        Returns the result of the function evaluation.
        Specified by:
        apply in interface DComplexDComplexDComplexFunction
        Parameters:
        a - the first argument passed to the function.
        b - the second argument passed to the function.
        Returns:
        the result of the function.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.