OmniSciDB  ca0c39ec8f
 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 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)
DEVICE constexpr double horner(double const x, double const c0, COEFFICIENTS...c)
Definition: misc.h:205
constexpr double a
Definition: Utm.h:32
constexpr double n
Definition: Utm.h:38

Definition at line 45 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)
}
DEVICE constexpr double horner(double const x, double const c0, COEFFICIENTS...c)
Definition: misc.h:205
constexpr double n
Definition: Utm.h:38

Definition at line 56 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)
}
DEVICE constexpr double horner(double const x, double const c0, COEFFICIENTS...c)
Definition: misc.h:205
constexpr double n
Definition: Utm.h:38

Definition at line 72 of file Utm.h.

Referenced by TransformUTMTo4326::TransformUTMTo4326().

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)
}
DEVICE constexpr double horner(double const x, double const c0, COEFFICIENTS...c)
Definition: misc.h:205
constexpr double n
Definition: Utm.h:38

Definition at line 98 of file Utm.h.

Referenced by TransformUTMTo4326::calculateY().

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

Definition at line 34 of file Utm.h.

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

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

Definition at line 31 of file Utm.h.

Referenced by _geoToHex2d(), QueryFragmentDescriptor::assignFragsToKernelDispatch(), QueryFragmentDescriptor::assignFragsToMultiDispatch(), threading_tbb::async(), atomicSumFltSkipVal(), TransformUTMTo4326::calculateY(), ResultSetReductionJIT::codegen(), GpuReductionHelperJIT::codegen(), FixedWidthInt::codegenDecode(), FixedWidthUnsigned::codegenDecode(), DiffFixedWidthInt::codegenDecode(), FixedWidthReal::codegenDecode(), FixedWidthSmallDate::codegenDecode(), org.apache.calcite.sql2rel.SqlToRelConverter::collectInsertTargets(), com.mapd.calcite.parser.HeavyDBParser::convertSqlToRelNode(), ArrowResultSetConverter::convertToArrow(), org.apache.calcite.sql2rel.SqlToRelConverter::convertWhere(), File_Namespace::create(), File_Namespace::FileMgr::createFile(), com.mapd.tests.DateTimeTest.DateAddUnit::DateAddUnit(), com.mapd.tests.DateTimeTest.DateExtractUnit::DateExtractUnit(), Catalog_Namespace::SysCatalog::execInTransaction(), Analyzer::Expr::find_expr(), Analyzer::UOper::find_expr(), Analyzer::BinOper::find_expr(), Analyzer::InValues::find_expr(), Analyzer::CharLengthExpr::find_expr(), Analyzer::KeyForStringExpr::find_expr(), Analyzer::SampleRatioExpr::find_expr(), Analyzer::CardinalityExpr::find_expr(), Analyzer::LikeExpr::find_expr(), Analyzer::RegexpExpr::find_expr(), Analyzer::WidthBucketExpr::find_expr(), Analyzer::LikelihoodExpr::find_expr(), Analyzer::AggExpr::find_expr(), Analyzer::CaseExpr::find_expr(), Analyzer::ExtractExpr::find_expr(), Analyzer::DateaddExpr::find_expr(), Analyzer::DatediffExpr::find_expr(), Analyzer::DatetruncExpr::find_expr(), Analyzer::StringOper::find_expr(), org.apache.calcite.sql2rel.SqlToRelConverter::getInitializerFactory(), import_export::Importer::importGDALRaster(), FilterSelectivity::isFilterSelectiveEnough(), CodeGenerator::link_udf_module(), org.apache.calcite.sql2rel.SqlToRelConverter.Blackboard::lookupExp(), com.mapd.tests.DateTimeTest::main(), AutomaticIRMetadataGuard::makeQueryEngineFilename(), File_Namespace::open(), File_Namespace::FileMgr::openExistingFile(), GenericKeyHandler::operator()(), OverlapsKeyHandler::operator()(), RangeKeyHandler::operator()(), heavyai::JSON::operator[](), threading_serial::parallel_for(), threading_std::parallel_for(), ArrowForeignStorageBase::parseArrowTable(), org.apache.calcite.sql.validate.SqlValidatorImpl.Permute::Permute(), Data_Namespace::ProcMeminfoParser::ProcMeminfoParser(), Parser::QuerySpec::QuerySpec(), File_Namespace::FileBuffer::readMetadata(), reg_hex_horiz_pixel_bin_packed(), reg_hex_horiz_pixel_bin_x(), reg_hex_horiz_pixel_bin_y(), reg_hex_vert_pixel_bin_packed(), reg_hex_vert_pixel_bin_x(), reg_hex_vert_pixel_bin_y(), threading_serial::task_group::run(), threading_std::task_group::run(), anonymous_namespace{NativeCodegen.cpp}::show_defined(), com.mapd.tests.DateTimeTest::testAdd(), com.mapd.tests.DateTimeTest::testDateAdd(), com.mapd.tests.DateTimeTest::testDateExtract(), com.mapd.tests.DateTimeTest::testDateTrunc(), com.mapd.tests.DateTimeTest::testDiff(), com.mapd.tests.DateTimeTest::testSub(), tf_metadata_getter__cpu_template(), tf_metadata_getter_bad__cpu_template(), tf_metadata_setter__cpu_template(), org.apache.calcite.sql2rel.SqlToRelConverter::toRel(), anonymous_namespace{ResultSetReductionCodegen.cpp}::translate_body(), anonymous_namespace{ResultSetReductionCodegen.cpp}::translate_for(), translate_function(), org.apache.calcite.sql.validate.SqlValidatorImpl::validateInsert(), anonymous_namespace{ExpressionRewrite.cpp}::ConstantFoldingVisitor::visitBinOper(), and File_Namespace::FileBuffer::writeMetadata().

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

Definition at line 33 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 38 of file Utm.h.

Referenced by Parser::QuerySpec::analyze_group_by(), ai.heavy.jdbc.HeavyAIColumnTypeTest.Answer::Answer(), StringNoneEncoder::appendData(), ArrayNoneEncoder::appendData(), shared::byteswap(), ChunkIter_get_nth_varlen(), ChunkIter_get_nth_varlen_notnull(), GroupByAndAggregate::codegenOutputSlot(), Geospatial::compress_null_point(), WindowFunctionContext::computePartitionBuffer(), org.apache.calcite.sql2rel.StandardConvertletTable::convertInterval(), org.apache.calcite.sql2rel.SqlToRelConverter::convertUpdate(), org.apache.calcite.sql2rel.SqlToRelConverter::convertUsing(), QueryMemoryInitializer::copyGroupByBuffersFromGpu(), QueryMemoryInitializer::createAndInitializeGroupByBufferGpu(), ResultSet::dropFirstN(), StringDictionary::eachStringSerially(), import_export::anonymous_namespace{ExpressionParser.cpp}::Function_split_part::Eval(), ext_arg_type_to_type_info(), import_export::Detector::get_sample_rows(), QueryMemoryDescriptor::getBufferSizeBytes(), lockmgr::TableLockMgrImpl< TableDataLockMgr >::getClusterTableMutex(), StringNoneEncoder::getNumElemsForBytesInsertData(), ArrayNoneEncoder::getNumElemsForBytesInsertData(), Executor::getPhysicalColumnDescriptor(), import_export::Detector::importDelimited(), QueryMemoryInitializer::initGroupByBuffer(), ResultSet::keepFirstN(), main(), org.apache.calcite.sql2rel.StandardConvertletTable::makeConstructorCall(), AutomaticIRMetadataGuard::makeQueryEngineFilename(), anonymous_namespace{RelAlgDag.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(), com.mapd.parser.extension.ddl.SqlCreatePolicy::toString(), Transform4326ToUTM::Transform4326ToUTM(), StringNoneEncoder::updateStats(), FixedLengthArrayNoneEncoder::updateStats(), ArrayNoneEncoder::updateStats(), anonymous_namespace{QueryMemoryDescriptor.cpp}::use_streaming_top_n(), and org.apache.calcite.sql.validate.SqlValidatorImpl.ExtendedExpander::visit().