org.apache.mahout.math.function
Class SquareRootFunction

java.lang.Object
  extended by org.apache.mahout.math.function.SquareRootFunction
All Implemented Interfaces:
DoubleFunction

public final class SquareRootFunction
extends Object
implements DoubleFunction


Constructor Summary
SquareRootFunction()
           
 
Method Summary
 double apply(double arg1)
          Apply the function to the argument and return the result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquareRootFunction

public SquareRootFunction()
Method Detail

apply

public double apply(double arg1)
Description copied from interface: DoubleFunction
Apply the function to the argument and return the result

Specified by:
apply in interface DoubleFunction
Parameters:
arg1 - double for the argument
Returns:
the result of applying the function


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.