Package ptolemy.math.test
Class TestComplexUnaryOperation
- java.lang.Object
 - 
- ptolemy.math.test.TestComplexUnaryOperation
 
 
- 
- All Implemented Interfaces:
 ComplexUnaryOperation
public class TestComplexUnaryOperation extends java.lang.Object implements 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 2.0
 - Version:
 - $Id$
 - Author:
 - Christopher Hylands
 - Pt.AcceptedRating:
 - Red (ctsay)
 - Pt.ProposedRating:
 - Red (ctsay)
 
 
- 
- 
Constructor Summary
Constructors Constructor Description TestComplexUnaryOperation() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Complexoperate(Complex operand)Operate on the operand, returning a value of the same type. 
 - 
 
- 
- 
Method Detail
- 
operate
public Complex operate(Complex operand)
Operate on the operand, returning a value of the same type.- Specified by:
 operatein interfaceComplexUnaryOperation- Parameters:
 operand- The operand.- Returns:
 - The results of the operation.
 
 
 - 
 
 -