| org.mandarax.lib.AbstractFunction org.mandarax.lib.math.BinaryDoubleArithmeticFunction
BinaryDoubleArithmeticFunction | abstract public class BinaryDoubleArithmeticFunction extends AbstractFunction (Code) | | Abstract superclass for double arithmetic functions with two arguments.
author: Jens Dietrich version: 3.4 <7 March 05> since: 1.4 (in 1.3 in the renamed package org.mandarax.math) |
Method Summary | |
abstract protected double | compute(double d1, double d2) Compute the result using the function. | public Class | getReturnType() Get the return type of the function. | public Class[] | getStructure() Get the structure of the function. | public Object | perform(Term[] parameter, Session session) Perform the function using an array of terms as parameters. |
compute | abstract protected double compute(double d1, double d2)(Code) | | Compute the result using the function.
the result Parameters: d1 - value 1 Parameters: d2 - value 2 |
getReturnType | public Class getReturnType()(Code) | | Get the return type of the function.
the return type of the function |
getStructure | public Class[] getStructure()(Code) | | Get the structure of the function.
the structure of the function |
|
|