Package ptolemy.math

Interface ComplexUnaryOperation

  • All Known Implementing Classes:
    TestComplexUnaryOperation

    public interface ComplexUnaryOperation
    A operation taking one argument of type Complex, and producing a value of type Complex. This interface attempts to mimic a first-class function of a single variable.
    Since:
    Ptolemy II 1.0
    Version:
    $Id$
    Author:
    Jeff Tsay
    Pt.AcceptedRating:
    Red (ctsay)
    Pt.ProposedRating:
    Red (ctsay)
    • Method Detail

      • operate

        Complex operate​(Complex operand)
        Operate on the operand, returning a value of the same type.
        Parameters:
        operand - The operand.
        Returns:
        The results of the operation.