ptolemy.math
Interface DoubleUnaryOperation

All Known Implementing Classes:
SignalProcessing.GaussianSampleGenerator, SignalProcessing.PolynomialSampleGenerator, SignalProcessing.RaisedCosineSampleGenerator, SignalProcessing.SawtoothSampleGenerator, SignalProcessing.SincSampleGenerator, SignalProcessing.SinusoidSampleGenerator, SignalProcessing.SqrtRaisedCosineSampleGenerator

public interface DoubleUnaryOperation

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

Since:
Ptolemy II 1.0
Version:
$Id: DoubleUnaryOperation.java 43782 2006-09-21 15:10:05Z cxh $
Author:
Jeff Tsay
Accepted Rating:
Red (ctsay)
Proposed Rating:
Red (ctsay)

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

Method Detail

operate

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

Parameters:
operand - The operand.
Returns:
The results of the operation.