OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
anonymous_namespace{Utm.h} Namespace Reference

Variables

constexpr double f = 1 / 298.257223563
 
constexpr double a = 6378137
 
constexpr double k0 = 0.9996
 
constexpr double E0 = 500e3
 
constexpr double deg_div_rad = 180 / M_PI
 
constexpr double rad_div_deg = M_PI / 180
 
constexpr double n = f / (2 - f)
 
constexpr double A
 
constexpr double k0_A = k0 * A
 
constexpr std::array< double, 9 > alphas
 
constexpr std::array< double, 9 > betas
 
constexpr std::array< double, 9 > deltas
 
constexpr unsigned N = 6
 

Variable Documentation

constexpr double anonymous_namespace{Utm.h}::A
Initial value:
=
a * shared::horner(n * n, 1, 1. / 4, 1. / 64, 1. / 256, 25. / 16384) / (1 + n)
constexpr double a
Definition: Utm.h:38
constexpr double horner(double const x, double const c0, COEFFICIENTS...c)
Definition: misc.h:198
constexpr double n
Definition: Utm.h:46

Definition at line 53 of file Utm.h.

constexpr std::array<double, 9> anonymous_namespace{Utm.h}::alphas
Initial value:
{ std::numeric_limits<double>::quiet_NaN()
, shared::horner(n, 0, 1./2, -2./3, 5./16, 41./180, -127./288, 7891./37800, 72161./387072, -18975107./50803200)
, shared::horner(n, 0, 0, 13./48, -3./5, 557./1440, 281./630, -1983433./1935360, 13769./28800, 148003883./174182400)
, shared::horner(n, 0, 0, 0, 61./240, -103./140, 15061./26880, 167603./181440, -67102379./29030400, 79682431./79833600)
, shared::horner(n, 0, 0, 0, 0, 49561./161280, -179./168, 6601661./7257600, 97445./49896, -40176129013./7664025600)
, shared::horner(n, 0, 0, 0, 0, 0, 34729./80640, -3418889./1995840, 14644087./9123840, 2605413599./622702080)
, shared::horner(n, 0, 0, 0, 0, 0, 0, 212378941./319334400, -30705481./10378368, 175214326799./58118860800)
, shared::horner(n, 0, 0, 0, 0, 0, 0, 0, 1522256789./1383782400, -16759934899./3113510400)
, shared::horner(n, 0, 0, 0, 0, 0, 0, 0, 0, 1424729850961./743921418240)
}
constexpr double horner(double const x, double const c0, COEFFICIENTS...c)
Definition: misc.h:198
constexpr double n
Definition: Utm.h:46

Definition at line 64 of file Utm.h.

Referenced by Transform4326ToUTM::calculateX(), and Transform4326ToUTM::calculateY().

constexpr std::array<double, 9> anonymous_namespace{Utm.h}::betas
Initial value:
{ std::numeric_limits<double>::quiet_NaN()
, shared::horner(n, 0, 1./2, -2./3, 37./96, -1./360, -81./512, 96199./604800, -5406467./38707200, 7944359./67737600)
, shared::horner(n, 0, 0, 1./48, 1./15, -437./1440, 46./105, -1118711./3870720, 51841./1209600, 24749483./348364800)
, shared::horner(n, 0, 0, 0, 17./480, -37./840, -209./4480, 5569./90720, 9261899./58060800, -6457463./17740800)
, shared::horner(n, 0, 0, 0, 0, 4397./161280, -11./504, -830251./7257600, 466511./2494800, 324154477./7664025600)
, shared::horner(n, 0, 0, 0, 0, 0, 4583./161280, -108847./3991680, -8005831./63866880, 22894433./124540416)
, shared::horner(n, 0, 0, 0, 0, 0, 0, 20648693./638668800, -16363163./518918400, -2204645983./12915302400)
, shared::horner(n, 0, 0, 0, 0, 0, 0, 0, 219941297./5535129600, -497323811./12454041600)
, shared::horner(n, 0, 0, 0, 0, 0, 0, 0, 0, 191773887257./3719607091200)
}
constexpr double horner(double const x, double const c0, COEFFICIENTS...c)
Definition: misc.h:198
constexpr double n
Definition: Utm.h:46

Definition at line 80 of file Utm.h.

Referenced by TransformUTMTo4326::TransformUTMTo4326().

constexpr double anonymous_namespace{Utm.h}::deg_div_rad = 180 / M_PI
constexpr std::array<double, 9> anonymous_namespace{Utm.h}::deltas
Initial value:
{ std::numeric_limits<double>::quiet_NaN()
, shared::horner(n, 0, 2, -2./3, -2, 116./45, 26./45, -2854./675, 16822./4725, 189416./99225)
, shared::horner(n, 0, 0, 7./3, -8./5, -227./45, 2704./315, 2323./945, -31256./1575, 141514./8505)
, shared::horner(n, 0, 0, 0, 56./15, -136./35, -1262./105, 73814./2835, 98738./14175, -2363828./31185)
, shared::horner(n, 0, 0, 0, 0, 4279./630, -332./35, - 399572./14175, 11763988./155925, 14416399./935550)
, shared::horner(n, 0, 0, 0, 0, 0, 4174./315, -144838./6237, -2046082./31185, 258316372./1216215)
, shared::horner(n, 0, 0, 0, 0, 0, 0, 601676./22275, -115444544./2027025, -2155215124./14189175)
, shared::horner(n, 0, 0, 0, 0, 0, 0, 0, 38341552./675675, -170079376./1216215)
, shared::horner(n, 0, 0, 0, 0, 0, 0, 0, 0, 1383243703./11351340)
}
constexpr double horner(double const x, double const c0, COEFFICIENTS...c)
Definition: misc.h:198
constexpr double n
Definition: Utm.h:46

Definition at line 106 of file Utm.h.

Referenced by TransformUTMTo4326::calculateY().

constexpr double anonymous_namespace{Utm.h}::E0 = 500e3

Definition at line 40 of file Utm.h.

Referenced by Transform4326ToUTM::calculateX(), and TransformUTMTo4326::TransformUTMTo4326().

constexpr double anonymous_namespace{Utm.h}::f = 1 / 298.257223563

Definition at line 37 of file Utm.h.

constexpr double anonymous_namespace{Utm.h}::k0 = 0.9996

Definition at line 39 of file Utm.h.

constexpr double anonymous_namespace{Utm.h}::k0_A = k0 * A
constexpr double anonymous_namespace{Utm.h}::n = f / (2 - f)

Definition at line 46 of file Utm.h.

Referenced by Parser::QuerySpec::analyze_group_by(), com.omnisci.jdbc.OmniSciColumnTypeTest.Answer::Answer(), StringNoneEncoder::appendData(), ArrayNoneEncoder::appendData(), ChunkIter_get_nth_varlen(), ChunkIter_get_nth_varlen_notnull(), GroupByAndAggregate::codegenOutputSlot(), Geospatial::compress_null_point(), WindowFunctionContext::computePartition(), org.apache.calcite.sql2rel.SqlToRelConverter::convertUpdate(), org.apache.calcite.sql2rel.SqlToRelConverter::convertUsing(), QueryMemoryInitializer::copyGroupByBuffersFromGpu(), QueryMemoryInitializer::createAndInitializeGroupByBufferGpu(), ResultSet::dropFirstN(), import_export::Detector::get_sample_rows(), QueryMemoryDescriptor::getBufferSizeBytes(), StringNoneEncoder::getNumElemsForBytesInsertData(), ArrayNoneEncoder::getNumElemsForBytesInsertData(), Executor::getPhysicalColumnDescriptor(), import_export::Detector::importDelimited(), QueryMemoryInitializer::initGroupByBuffer(), ResultSet::keepFirstN(), main(), AutomaticIRMetadataGuard::makeQueryEngineFilename(), anonymous_namespace{RelAlgDagBuilder.cpp}::n_outputs(), org.apache.calcite.rel.rules.OuterJoinOptViaNullRejectionRule::onMatch(), pop_n_rows_from_merged_heaps_gpu(), QueryMemoryInitializer::prepareTopNHeapsDevBuffer(), Analyzer::anonymous_namespace{Analyzer.cpp}::roundDecimal(), Analyzer::anonymous_namespace{Analyzer.cpp}::safeRound(), SQLTypeInfo::set_notnull(), Analyzer::Var::set_varno(), ExpressionRange::setNulls(), quantile::detail::TDigest< RealType, IndexType >::slope(), ResultSet::topPermutation(), Transform4326ToUTM::Transform4326ToUTM(), StringNoneEncoder::updateStats(), FixedLengthArrayNoneEncoder::updateStats(), ArrayNoneEncoder::updateStats(), and anonymous_namespace{QueryMemoryDescriptor.cpp}::use_streaming_top_n().

constexpr double anonymous_namespace{Utm.h}::rad_div_deg = M_PI / 180

Definition at line 42 of file Utm.h.

Referenced by Transform4326ToUTM::Transform4326ToUTM(), and transform_4326_900913_x().