Interface Operator

All Known Subinterfaces:
CoordinateTransformationOperator
All Known Implementing Classes:
AbstractCoordinateTransformationOperator, ApertureFilterOperator, LinearOperator, ProjectiveOperator

public interface Operator

Abstract operator: a transformation from one mathematical function to another.

Implementations of this interface are usually immutable and always thread-safe: apply method of this interface may be freely used while simultaneous accessing the same instance from several threads. All implementations of this interface from this package are immutable.

Author:
Daniel Alievsky
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Operator
    Identity operator, transforming any function to itself.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the result of applying this operator to the given function.
  • Field Details

    • IDENTITY

      static final Operator IDENTITY
      Identity operator, transforming any function to itself. The apply(Func) method of this operator returns the reference to its argument.
  • Method Details

    • apply

      Func apply(Func f)
      Returns the result of applying this operator to the given function.
      Parameters:
      f - some function.
      Returns:
      new transformed function.