ptolemy.math
Interface FloatUnaryOperation


public interface FloatUnaryOperation

A operation taking one argument of type float, and producing a value of type float. This interface attempts to mimic a first-class function of a single variable.

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

Method Summary
 float operate(float operand)
          Operate on the operand, returning a value of the same type.
 

Method Detail

operate

public float operate(float operand)
Operate on the operand, returning a value of the same type.