DiscreteFieldSupplier constructor

DiscreteFieldSupplier(
  1. DiscreteField? field
)

Creates a DiscreteFieldSupplier.

DiscreteFieldFunction.evaluate fails if DiscreteFieldSupplier.field is null. However, creating a DiscreteFieldSupplier with no field can be useful in time series analysis. A null initial field lets you define a time series analysis before its field is available. You can then defer evaluation until a field has been populated for each time frame.

Parameters:

  • field — The DiscreteField returned when this function is evaluated.