ptolemy.math
Interface ComplexBinaryOperation


public interface ComplexBinaryOperation

A operation taking two operands of type Complex, and producing a value of type Complex. This interface attempts to mimic a first-class function of two variables.

Since:
Ptolemy II 1.0
Version:
$Id: ComplexBinaryOperation.java,v 1.12 2004/04/13 03:44:52 cxh Exp $
Author:
Jeff Tsay
Accepted Rating:
Red (ctsay)
Proposed Rating:
Red (ctsay)

Method Summary
 Complex operate(Complex leftOperand, Complex rightOperand)
          Operate on the operands, returning a value of the same type.
 

Method Detail

operate

public Complex operate(Complex leftOperand,
                       Complex rightOperand)
Operate on the operands, returning a value of the same type. Note that the operation need not be commutative.