ptolemy.math
Interface FloatBinaryOperation
- public interface FloatBinaryOperation
A operation taking two operands of type float, and producing a value of
type float. This interface attempts to mimic a first-class function of two
variables.
- Since:
- Ptolemy II 1.0
- Version:
- $Id: FloatBinaryOperation.java,v 1.12 2004/04/13 03:45:16 cxh Exp $
- Author:
- Jeff Tsay
- Accepted Rating:
- Proposed Rating:
|
Method Summary |
float |
operate(float leftOperand,
float rightOperand)
Operate on the operands, returning a value of the same
type. |
operate
public float operate(float leftOperand,
float rightOperand)
- Operate on the operands, returning a value of the same
type. Note that the operation need not be commutative.