public class ATAN2 extends DoubleDoubleBase
Math.atan2(double,double)
. Given a tuple with
two data atom x and y it will returns the angle theta from the conversion of
rectangular coordinates (x, y) to polar coordinates (r, theta).
value
- Tuple containing two Double
.Double
register math.jar;
A = load 'mydata' using PigStorage() as ( float1 );
B = foreach A generate float1, math.ATAN2(float1);
Math.atan2(double,double)
,
EvalFunc.SchemaType
log, pigLogger, reporter, returnType
Constructor and Description |
---|
ATAN2() |
exec, getArgToFuncMapping
outputSchema
allowCompileTimeCalculation, finish, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
Copyright © 2007-2017 The Apache Software Foundation