Documentation of 'org.jquantlib.math.functions.Constant' Java class
Constant
org.jquantlib.math.functions

Class Constant

  • All Implemented Interfaces:
    Ops.DoubleOp


    public final class Constant
    extends java.lang.Object
    implements Ops.DoubleOp
    A constant function
    • Constructor Summary

      Constructors 
      Constructor and Description
      Constant(double value) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double op(double a) 
      • Methods inherited from class java.lang.Object

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

      • Constant

        public Constant(double value)
    • Method Detail

      • op

        public double op(double a)
        Specified by:
        op in interface Ops.DoubleOp
        Parameters:
        a - is always discarded
        Returns:
        a constant value whatever parameter is received

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.