Documentation of 'cern.jet.math.tdouble.DoubleMult' Java class
DoubleMult
cern.jet.math.tdouble

Class DoubleMult

  • All Implemented Interfaces:
    DoubleFunction


    public final class DoubleMult
    extends java.lang.Object
    implements DoubleFunction
    Only for performance tuning of compute intensive linear algebraic computations. Constructs functions that return one of
    • a * constant
    • a / constant
    a is variable, constant is fixed, but for performance reasons publicly accessible. Intended to be passed to matrix.assign(function) methods.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      double multiplicator
      Public read/write access to avoid frequent object construction.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double apply(double a)
      Returns the result of the function evaluation.
      static DoubleMult div(double constant)
      a / constant.
      static DoubleMult mult(double constant)
      a * constant.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • multiplicator

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

      • apply

        public final double apply(double a)
        Returns the result of the function evaluation.
        Specified by:
        apply in interface DoubleFunction
        Parameters:
        a - argument passed to the function.
        Returns:
        the result of the function.
      • div

        public static DoubleMult div(double constant)
        a / constant.
      • mult

        public static DoubleMult mult(double constant)
        a * constant.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.