org.apache.pig.piggybank.evaluation.math
Class ATAN
java.lang.Object
org.apache.pig.EvalFunc<Double>
org.apache.pig.piggybank.evaluation.math.Base
org.apache.pig.piggybank.evaluation.math.DoubleBase
org.apache.pig.piggybank.evaluation.math.ATAN
public class ATAN
- extends DoubleBase
math.ATAN implements a binding to the Java function
Math.atan(double)
for computing the
arc tangent of value of the argument. The returned value will be a double which is
the arc tangent of the value of input.
- Parameters:
value
- Double
.
- Return Value:
Double
arc tangent of the value of input
- Return Schema:
- atan_inputSchema
- Example:
register math.jar;
A = load 'mydata' using PigStorage() as ( float1 );
B = foreach A generate float1, math.ATAN(float1);
- Author:
- ajay garg
- See Also:
Math.atan(double)
,
Constructor Summary |
ATAN()
|
Methods inherited from class org.apache.pig.piggybank.evaluation.math.Base |
outputSchema |
Methods inherited from class org.apache.pig.EvalFunc |
finish, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, isAsynchronous, progress, setPigLogger, setReporter, warn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ATAN
public ATAN()
Copyright © ${year} The Apache Software Foundation