Module xl.core

Interface DoubleToLong


public interface DoubleToLong
Instances of DoubleToLong represent functions which take doubles as input and return values of type long. Such instances are created by lambda expressions of the XL programming language, e.g., DoubleToLong f = double x => long some expression containing x;.
Author:
Ole Kniemeyer
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    evaluateLong(double x)
    Computes the value of this function at x.
  • Method Details

    • evaluateLong

      long evaluateLong(double x)
      Computes the value of this function at x.
      Parameters:
      x - where the function is to be evaluated
      Returns:
      function value at x