libome-rs 0.0.1

Rust bindings for libome, a C++ library for massive QCD operator matrix elements in x-space.
Documentation
/******************************************************************************
 * This file is part of libome                                                *
 * Copyright (C) 2025 Arnd Behring, Kay Schoenwald                            *
 * SPDX-License-Identifier: GPL-3.0-or-later                                  *
 ******************************************************************************/

#ifndef LIBOME_POLAQG_H
#define LIBOME_POLAQG_H

#ifdef __cplusplus

#include <ome/ome_type_aliases.h>
#include <ome/rpd_distribution.h>

namespace ome
{
  /**
   * \addtogroup ome-data
   * \{
   * \defgroup ome-data-polAQg polAQg
   * \brief Data objects for \f$\Delta A_{Qg}\f$
   * \{
   */
  /// Regular part of \f$\Delta A_{Qg}\f$
  extern const ome_as<double> polAQg_reg;

  /// Container for regular, plus and delta part of \f$\Delta A_{Qg}\f$
  extern const rpd_distribution<ome_as_view<double>, ome_as_plus_view<double>, ome_as_const_view<double>> polAQg;

  /**
   * \}
   * \}
   */
}

extern "C"
{
#endif /* ifdef __cpluscplus */

/* C interface */
/**
 * \addtogroup c-interface
 * \{
 * \defgroup c-interface-polAQg polAQg
 * \brief C interface functions for \f$\Delta A_{Qg}\f$
 * \{
 * \name Evaluation
 * \{
 */

/// Evaluate regular part of \f$\Delta A_{Qg}\f$
double ome_polAQg_reg(double as, double LM, double NF, double x);
/// Evaluate regular part of \f$\Delta A_{Qg}\f$ truncated in \f$a_s\f$
double ome_polAQg_reg_trunc_as(int trunc_order, double as, double LM, double NF, double x);
/// Evaluate a given \f$a_s\f$ coefficient of the regular part of \f$\Delta A_{Qg}\f$
double ome_polAQg_reg_coeff_as(int order_as, double LM, double NF, double x);
/// Evaluate a given \f$a_s\f$, \f$L_M\f$ coefficient of the regular part of \f$\Delta A_{Qg}\f$
double ome_polAQg_reg_coeff_as_LM(int order_as, int order_LM, double NF, double x);
/// Evaluate a given \f$a_s\f$, \f$L_M\f$, \f$N_F\f$ coefficient of the regular part of \f$\Delta A_{Qg}\f$
double ome_polAQg_reg_coeff_as_LM_NF(int order_as, int order_LM, int order_NF, double x);



/**
 * \}
 *
 * \name Range getters
 * \{
 */

/// Get minimum power in \f$a_s\f$ of regular part of \f$\Delta A_{Qg}\f$
int ome_polAQg_reg_min_power();
/// Get maximum power in \f$a_s\f$ of regular part of \f$\Delta A_{Qg}\f$
int ome_polAQg_reg_max_power();
/// Get minimum power in \f$L_M\f$ of a specific \f$a_s\f$ coefficient of the regular part of \f$\Delta A_{Qg}\f$
int ome_polAQg_reg_coeff_as_min_power(int order_as);
/// Get maximum power in \f$L_M\f$ of a specific \f$a_s\f$ coefficient of the regular part of \f$\Delta A_{Qg}\f$
int ome_polAQg_reg_coeff_as_max_power(int order_as);
/// Get minimum power in \f$N_F\f$ of a specific \f$a_s\f$, \f$L_M\f$ coefficient of the regular part of \f$\Delta A_{Qg}\f$
int ome_polAQg_reg_coeff_as_LM_min_power(int order_as, int order_LM);
/// Get maximum power in \f$N_F\f$ of a specific \f$a_s\f$, \f$L_M\f$ coefficient of the regular part of \f$\Delta A_{Qg}\f$
int ome_polAQg_reg_coeff_as_LM_max_power(int order_as, int order_LM);



/**
 * \}
 * \}
 * \}
 */

#ifdef __cplusplus
}
#endif
#endif