Class DoubleFunction

java.lang.Object
smile.data.formula.AbstractFunction
smile.data.formula.DoubleFunction
All Implemented Interfaces:
Serializable, Term

public class DoubleFunction extends AbstractFunction
The generic term of applying a double function.
See Also:
  • Constructor Details

    • DoubleFunction

      public DoubleFunction(String name, Term x, Function lambda)
      Constructor.
      Parameters:
      name - the name of function.
      x - the term that the function is applied to.
      lambda - the function/lambda.
  • Method Details

    • bind

      public List<Feature> bind(StructType schema)
      Description copied from interface: Term
      Binds the term to a schema.
      Parameters:
      schema - the schema to bind the term with.
      Returns:
      the feature list.