NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
template<typename T > | |
bool | approx (T x_, T y_, T eps_) |
template<typename T > | |
bool | relApprox (T x_, T y_, T eps_) |
template<typename T > | |
bool | absRelApprox (T x_, T y_, T tol_, T rtol_) |
template<typename T > | |
bool | eq (T x_, T y_, T round_) |
template<typename T > | |
bool | ge (T x_, T y_, T round_) |
template<typename T > | |
bool | gt (T x_, T y_, T round_) |
template<typename T > | |
bool | ne (T x_, T y_, T round_) |
template<typename T > | |
bool | lt (T x_, T y_, T round_) |
template<typename T > | |
bool | le (T x_, T y_, T round_) |
Variables | |
const float | FLT_THRESHOLD = 10.0F |
const float | FLT_ROUND = FLT_THRESHOLD * FLT_EPSILON |
const double | DBL_THRESHOLD = 100.0 |
const double | DBL_ROUND = DBL_THRESHOLD * DBL_EPSILON |
Definition at line 75 of file njn_approx.hpp.
Referenced by Matrix< T >::absRelApprox().
Definition at line 73 of file njn_approx.hpp.
References fabs.
Referenced by Matrix< T >::approx(), rapidjson::internal::StrtodBigInteger(), and CSeqDBImpl::x_ScanTotals().
Definition at line 79 of file njn_approx.hpp.
Referenced by CCodeGenerator::AddConfigLine(), BvectorBitForEachTest(), BvectorShiftTest(), BVImportTest(), Check_SimModel(), CheckBV_AND_OR(), CheckGTSearch(), CheckRangeDeserial(), DetailedCompareBVectors(), bm::base_sparse_vector< Val, BV, MAX_SIZE >::equal(), FF_FUN(), FreezeTest(), CNetBlastJobDescriptor::Init(), IntervalEnumeratorTest(), IntervalsEnumeratorCheck(), ne(), CRepeatToFeat::operator()(), RangeForEachTest(), CNcbiEnvironment::Reset(), ncbi::grid::netcache::search::s_GetField(), SerializationCompressionLevelsTest(), SerializationOperation(), SerializationOperation2Test(), SparseSerializationTest(), swap_bits_check(), test_chr21(), TestCompressSparseSignedVector(), TestCompressSparseVector(), TestCompressSparseVectorSerial(), TestMappingSeq_align(), TestMappingSeq_graph(), TestMappingSeq_loc(), TestSignedSparseVectorSerial(), TestSparseFindEqStrPipeline(), TestSparseVector(), TestSparseVectorScan(), TestSparseVectorSerial(), TestSparseVectorSerialization2(), TestStrSparseVector(), TestStrSparseVectorSerial(), VisitorAllRangeTest(), and CArgDescriptions::x_CreateArg().
Definition at line 80 of file njn_approx.hpp.
References fabs.
Referenced by CreateMimeFromBiostruc(), lt(), parse_regex(), and sendMTFValues().
Definition at line 84 of file njn_approx.hpp.
References gt().
Referenced by AlignmentSet::AlignmentSet(), ChemicalGraph::ChemicalGraph(), cpll(), BLASTer::CreateNewPairwiseAlignmentsByBlast(), CreateObjectLocation(), OpenGLRenderer::Display(), CommandProcessor::DoCommand_Highlight(), AlignmentUtility::DoLeaveNOut(), AlignmentUtility::DoLeaveOneOut(), rapidjson::GenericValue< rapidjson::Encoding, rapidjson::Allocator >::GenericValue(), ASNDataManager::GetCDDNotes(), OpenGLRenderer::IsFrameEmpty(), CAgpRow::le_str(), CAgpRow::LinkageEvidenceFlagsToString(), CAgpRow::LinkageEvidencesToString(), StructureSet::LoadAlignmentsAndStructures(), MasterDependentAlignment::MasterDependentAlignment(), MasterSlaveAlignment::MasterSlaveAlignment(), wxCheckedListCtrl::OnMouseEvent(), ILineErrorListener::PutMessage(), AnnotateDialog::ResetListBoxes(), CTbl2AsnApp::Run(), SetStructureRowFlags(), CAgpRow::SubstOldGap(), and ttbi().
Definition at line 83 of file njn_approx.hpp.
References ge().
Definition at line 82 of file njn_approx.hpp.
References eq().
Referenced by MoleculeIdentifier::AddFields(), AlignmentSet::AlignmentSet(), AlignmentManager::BlockAlignUpdate(), IPhyloTreeRender::CProjectionExtents::ConsolidateExtents(), MoleculeIdentifier::GetIdentifier(), UpdateViewer::ImportStructure(), ASNDataManager::Load(), StructureSet::ReplaceAlignmentSet(), AlignmentManager::ThreadUpdate(), and IPhyloTreeRender::CExtentDimension::UpdateExtent().
Definition at line 74 of file njn_approx.hpp.
Referenced by isProbDist(), and Matrix< T >::relApprox().
const double DBL_ROUND = DBL_THRESHOLD * DBL_EPSILON |
Definition at line 55 of file njn_approx.hpp.
const double DBL_THRESHOLD = 100.0 |
Definition at line 54 of file njn_approx.hpp.
const float FLT_ROUND = FLT_THRESHOLD * FLT_EPSILON |
Definition at line 52 of file njn_approx.hpp.
const float FLT_THRESHOLD = 10.0F |
Definition at line 51 of file njn_approx.hpp.