com.rubecula.jquantity
Class Value.transcendentalSquare

java.lang.Object
  extended bycom.rubecula.jquantity.Value.transcendentalSquare
All Implemented Interfaces:
Transcendental
Enclosing class:
Value

private static class Value.transcendentalSquare
extends java.lang.Object
implements Transcendental


Constructor Summary
private Value.transcendentalSquare()
           
 
Method Summary
 java.lang.String getCalcCommand()
          This method must be provided to yield the string for remotely invoking calc.
 Rational getDerivative(Rational x)
          This method must be provided to yield the value of the first derivative of the function for the given argument.
 Value getExactValue(Value x)
          This method must be provided to yield an exact value (if any - else null) for the given argument.
 Transcendental getInverse()
          This method must be provided to yield the transcendental for the inverse operation:
 Rational getValue(Rational x)
          This method must be provided to yield the value of the transcendental function for the given argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Value.transcendentalSquare

private Value.transcendentalSquare()
Method Detail

getValue

public Rational getValue(Rational x)
Description copied from interface: Transcendental
This method must be provided to yield the value of the transcendental function for the given argument.

Specified by:
getValue in interface Transcendental
Parameters:
x - the argument of the function.
Returns:
the result of applying the funtion to the argument

getExactValue

public Value getExactValue(Value x)
Description copied from interface: Transcendental
This method must be provided to yield an exact value (if any - else null) for the given argument.

Specified by:
getExactValue in interface Transcendental
Parameters:
x - the argument of the function.
Returns:
the result of applying the funtion to the argument

getDerivative

public Rational getDerivative(Rational x)
Description copied from interface: Transcendental
This method must be provided to yield the value of the first derivative of the function for the given argument.

Specified by:
getDerivative in interface Transcendental
Parameters:
x - the argument of the function.
Returns:
the result of applying the funtion to the argument

getInverse

public Transcendental getInverse()
Description copied from interface: Transcendental
This method must be provided to yield the transcendental for the inverse operation:

Specified by:
getInverse in interface Transcendental
Returns:
the result of applying the funtion to the argument

getCalcCommand

public java.lang.String getCalcCommand()
Description copied from interface: Transcendental
This method must be provided to yield the string for remotely invoking calc.

Specified by:
getCalcCommand in interface Transcendental
Returns:
the name of the command for the calc program to give an accurate version of the function value.