ISOSPEC_LOGGINGMARGINAL(3)
πΈ NAME πΈ
IsoSpec::LoggingMarginal< T > β bestie, this is a template class, and it lives in the IsoSpec family, and it is the one that keeps receipts (logs) on your marginals π
This page is from the Library Functions Manual (section 3), so you know it's a C++ library thing, not a command you type into your shell. Okurrr β¨
π SYNOPSIS π
Inherits IsoSpec::Marginal. Like, that's its whole personality lineage, no cap.
β¨ Public Member Functions β¨
LoggingMarginal(T &&m)LoggingMarginal(T &&m, int tabSize, int hashSize)LoggingMarginal(const LoggingMarginal &other) = deleteLoggingMarginal &operator=(const LoggingMarginal &other) = deletedouble getModeLProb() constdouble get_lProb(int idx) constdouble get_prob(int idx) constdouble get_mass(int idx) constconst double *get_lProbs_ptr() constconst Conf &get_conf(int idx) constunsigned int get_no_confs() constbool probeConfigurationIdx(int idx)double get_min_mass() constdouble get_max_mass() constdouble getModeMass() constdouble getLightestConfMass() constdouble getHeaviestConfMass() constdouble getMonoisotopicConfMass() constdouble getAtomAverageMass() constdouble variance() constdouble getTheoreticalAverageMass() constdouble getLogSizeEstimate(double logEllipsoidRadius) constvoid ensureModeConf()const pod_vector<double> &conf_lprobs() constconst pod_vector<double> &conf_masses() constint get_original_position(int idx) constint get_isotopeNo() constconst double *get_lProbs() constconst double *get_masses() constconst double *get_atom_lProbs() constconst double *get_atom_masses() constbool extend(double new_threshold, bool do_sort = true)
π Public Member Functions inherited from IsoSpec::Marginal π
Marginal(const double *_masses, const double *_probs, int _isotopeNo, int _atomCnt)β the class constructor, the glow-up origin story.Marginal &operator=(const Marginal &other) = deleteMarginal(const Marginal &other)β copy constructor, it's giving duplicate-but-fresh.Marginal(Marginal &&other)β move constructor, the "I'm taking your stuff and you're empty now" moment.virtual ~Marginal()β destructor, clean exit, we love to see it.int get_isotopeNo() constβ hands you the number of isotopes of the element under investigation πconst double *get_lProbs() constdouble getLightestConfMass() constβ the mass of the lightest subisotopologue, the lil baby of the group.double getHeaviestConfMass() constβ the mass of the heaviest subisotopologue, the big one, the main character.double getMonoisotopicConfMass() constβ the mass of the monoisotopic subisotopologue.size_t getMonoisotopicAtomIndex() constβ the index of the monoisotopic (aka most probable) atom. Iconic.double getModeMass()β the mass of the mode subisotopologue.double getModeLProb()β the log-probability of the mode subisotopologue.double fastGetModeLProb()β same log-probability of the mode subisotopologue, but results are undefined ifensureModeConf()wasn't called before. So likeβ¦ call it first, bestie, fr fr πConf computeModeConf() constβ the probability of the mode subisotopologue.double getSmallestLProb() constβ the log-probability of the lightest subisotopologue.double getAtomAverageMass() constβ the average mass of a single atom.double getTheoreticalAverageMass() constβ the theoretical average mass of the molecule.double variance() constβ calculates the variance of the theoretical distribution describing the subisotopologue.double getLogSizeEstimate(double logEllipsoidRadius) constβ returns the estimated logarithm of the size of the marginal at a given ellipsoid radius.void ensureModeConf()
π¦ Additional Inherited Members π¦
Protected Member Functions inherited from IsoSpec::Marginal
ISOSPEC_FORCE_INLINE double unnormalized_logProb(Conf conf) constβ calculates the log-probability of a given subisotopologue.ISOSPEC_FORCE_INLINE double logProb(Conf conf) const
Protected Attributes inherited from IsoSpec::Marginal
const unsigned int isotopeNoconst unsigned int atomCntconst double *const atom_lProbsconst double *const atom_massesconst double loggamma_nominatorConf mode_confdouble mode_lprob
π DESCRIPTION π
Okay so, template time:
template<typename T>
class IsoSpec::LoggingMarginal< T >"
Definition at line 525 of file marginalTrek++.h. (Yes, the quote mark at the end is right there in the source, we're keeping it, no editing the canon π
)
β¨ Constructor & Destructor Documentation β¨
template<typename T> IsoSpec::LoggingMarginal<T>::LoggingMarginal(T &&m)β[inline]. Definition at line 532 of filemarginalTrek++.h.template<typename T> IsoSpec::LoggingMarginal<T>::LoggingMarginal(T &&m, int tabSize, int hashSize)β[inline]. Definition at line 533 of filemarginalTrek++.h.
π Member Function Documentation π
template<typename T> const pod_vector<double> &IsoSpec::LoggingMarginal<T>::conf_lprobs() constβ[inline]. Definition at line 563 of filemarginalTrek++.h.template<typename T> const pod_vector<double> &IsoSpec::LoggingMarginal<T>::conf_masses() constβ[inline]. Definition at line 564 of filemarginalTrek++.h.template<typename T> void IsoSpec::LoggingMarginal<T>::ensureModeConf()β[inline]. Definition at line 562 of filemarginalTrek++.h.template<typename T> bool IsoSpec::LoggingMarginal<T>::extend(double new_threshold, bool do_sort = true)β[inline]. Definition at line 571 of filemarginalTrek++.h.template<typename T> const double *IsoSpec::LoggingMarginal<T>::get_atom_lProbs() constβ[inline]. Definition at line 569 of filemarginalTrek++.h.template<typename T> const double *IsoSpec::LoggingMarginal<T>::get_atom_masses() constβ[inline]. Definition at line 570 of filemarginalTrek++.h.template<typename T> const Conf &IsoSpec::LoggingMarginal<T>::get_conf(int idx) constβ[inline]. Definition at line 544 of filemarginalTrek++.h.template<typename T> int IsoSpec::LoggingMarginal<T>::get_isotopeNo() constβ[inline]. Definition at line 566 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::get_lProb(int idx) constβ[inline]. Definition at line 540 of filemarginalTrek++.h.template<typename T> const double *IsoSpec::LoggingMarginal<T>::get_lProbs() constβ[inline]. Definition at line 567 of filemarginalTrek++.h.template<typename T> const double *IsoSpec::LoggingMarginal<T>::get_lProbs_ptr() constβ[inline]. Definition at line 543 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::get_mass(int idx) constβ[inline]. Definition at line 542 of filemarginalTrek++.h.template<typename T> const double *IsoSpec::LoggingMarginal<T>::get_masses() constβ[inline]. Definition at line 568 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::get_max_mass() constβ[inline]. Definition at line 548 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::get_min_mass() constβ[inline]. Definition at line 547 of filemarginalTrek++.h.template<typename T> unsigned int IsoSpec::LoggingMarginal<T>::get_no_confs() constβ[inline]. Definition at line 545 of filemarginalTrek++.h.template<typename T> int IsoSpec::LoggingMarginal<T>::get_original_position(int idx) constβ[inline]. Definition at line 565 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::get_prob(int idx) constβ[inline]. Definition at line 541 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::getAtomAverageMass() constβ[inline]. Definition at line 553 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::getHeaviestConfMass() constβ[inline]. Definition at line 551 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::getLightestConfMass() constβ[inline]. Definition at line 550 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::getLogSizeEstimate(double logEllipsoidRadius) constβ[inline]. Definition at line 556 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::getModeLProb() constβ[inline]. Definition at line 539 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::getModeMass() constβ[inline]. Definition at line 549 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::getMonoisotopicConfMass() constβ[inline]. Definition at line 552 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::getTheoreticalAverageMass() constβ[inline]. Definition at line 555 of filemarginalTrek++.h.template<typename T> bool IsoSpec::LoggingMarginal<T>::probeConfigurationIdx(int idx)β[inline]. Definition at line 546 of filemarginalTrek++.h.template<typename T> double IsoSpec::LoggingMarginal<T>::variance() constβ[inline]. Definition at line 554 of filemarginalTrek++.h.
π Author π
Generated automatically by Doxygen for IsoSpec from the source code. Not me writing it by hand, the robots did that part π€β¨
And that's the whole page, bestie π«Ά this is IsoSpec, page IsoSpec::L...rginal< T >(3), and yeah the manual header says section 3 and the footer is stamped by IsoSpec β go read the source at marginalTrek++.h if you wanna see the real thing, mwah π
π¦ where this page comes from
- ubuntu resolute: libisospec++-dev 2.3.2-1build1 Β· BSD-2-Clause
- ubuntu stonking: libisospec++-dev 2.3.2-2 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms