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.SchemaTypelog, pigLogger, reporter, returnType| Constructor and Description |
|---|
ATAN2() |
exec, getArgToFuncMappingoutputSchemaallowCompileTimeCalculation, finish, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnCopyright © 2007-2017 The Apache Software Foundation