//! @file a68g-prelude-mathlib.h
//! @author J. Marcel van der Veer

//! @section Copyright
//!
//! This file is part of Algol68G - an Algol 68 compiler-interpreter.
//! Copyright 2001-2026 J. Marcel van der Veer [algol68g@algol68genie.nl].

//! @section License
//!
//! This program is free software; you can redistribute it and/or modify it 
//! under the terms of the GNU General Public License as published by the 
//! Free Software Foundation; either version 3 of the License, or 
//! (at your option) any later version.
//!
//! This program is distributed in the hope that it will be useful, but 
//! WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
//! or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 
//! more details. You should have received a copy of the GNU General Public 
//! License along with this program. If not, see [http://www.gnu.org/licenses/].

//! @section Synopsis
//!
//! R standalone mathematics library definitions.

#if !defined (__A68G_PRELUDE_MATHLIB_H__)
#define __A68G_PRELUDE_MATHLIB_H__

#if defined (HAVE_R_MATHLIB)

  void stand_mathlib (void);
  void GetRNGstate (void);
  void PutRNGstate (void);
  
  GPROC genie_R_digamma_real;
  GPROC genie_R_trigamma_real;
  GPROC genie_R_tetragamma_real;
  GPROC genie_R_pentagamma_real;
  GPROC genie_R_psigamma_real;
  GPROC genie_R_ptukey_real;
  GPROC genie_R_qtukey_real;
  GPROC genie_R_dnorm_real;
  GPROC genie_R_pnorm_real;
  GPROC genie_R_qnorm_real;
  GPROC genie_R_rnorm_real;
  GPROC genie_R_rnorm_real;
  GPROC genie_R_dbeta_real;
  GPROC genie_R_pbeta_real;
  GPROC genie_R_qbeta_real;
  GPROC genie_R_rbeta_real;
  GPROC genie_R_dnbeta_real;
  GPROC genie_R_pnbeta_real;
  GPROC genie_R_qnbeta_real;
  GPROC genie_R_rnbeta_real;
  GPROC genie_R_dbinom_real;
  GPROC genie_R_pbinom_real;
  GPROC genie_R_qbinom_real;
  GPROC genie_R_rbinom_real;
  GPROC genie_R_dcauchy_real;
  GPROC genie_R_pcauchy_real;
  GPROC genie_R_qcauchy_real;
  GPROC genie_R_rcauchy_real;
  GPROC genie_R_dchisq_real;
  GPROC genie_R_pchisq_real;
  GPROC genie_R_qchisq_real;
  GPROC genie_R_rchisq_real;
  GPROC genie_R_dnchisq_real;
  GPROC genie_R_pnchisq_real;
  GPROC genie_R_qnchisq_real;
  GPROC genie_R_rnchisq_real;
  GPROC genie_R_dexp_real;
  GPROC genie_R_pexp_real;
  GPROC genie_R_qexp_real;
  GPROC genie_R_rexp_real;
  GPROC genie_R_df_real;
  GPROC genie_R_pf_real;
  GPROC genie_R_qf_real;
  GPROC genie_R_rf_real;
  GPROC genie_R_dnf_real;
  GPROC genie_R_pnf_real;
  GPROC genie_R_qnf_real;
  GPROC genie_R_rnf_real;
  GPROC genie_R_dgamma_real;
  GPROC genie_R_pgamma_real;
  GPROC genie_R_qgamma_real;
  GPROC genie_R_rgamma_real;
  GPROC genie_R_dgeom_real;
  GPROC genie_R_pgeom_real;
  GPROC genie_R_qgeom_real;
  GPROC genie_R_rgeom_real;
  GPROC genie_R_dhyper_real;
  GPROC genie_R_phyper_real;
  GPROC genie_R_qhyper_real;
  GPROC genie_R_rhyper_real;
  GPROC genie_R_dlogis_real;
  GPROC genie_R_plogis_real;
  GPROC genie_R_qlogis_real;
  GPROC genie_R_rlogis_real;
  GPROC genie_R_dlnorm_real;
  GPROC genie_R_plnorm_real;
  GPROC genie_R_qlnorm_real;
  GPROC genie_R_rlnorm_real;
  GPROC genie_R_dnbinom_real;
  GPROC genie_R_pnbinom_real;
  GPROC genie_R_qnbinom_real;
  GPROC genie_R_rnbinom_real;
  GPROC genie_R_dpois_real;
  GPROC genie_R_ppois_real;
  GPROC genie_R_qpois_real;
  GPROC genie_R_rpois_real;
  GPROC genie_R_dt_real;
  GPROC genie_R_pt_real;
  GPROC genie_R_qt_real;
  GPROC genie_R_rt_real;
  GPROC genie_R_dnt_real;
  GPROC genie_R_pnt_real;
  GPROC genie_R_qnt_real;
  GPROC genie_R_rnt_real;
  GPROC genie_R_dunif_real;
  GPROC genie_R_punif_real;
  GPROC genie_R_qunif_real;
  GPROC genie_R_runif_real;
  GPROC genie_R_dweibull_real;
  GPROC genie_R_pweibull_real;
  GPROC genie_R_qweibull_real;
  GPROC genie_R_rweibull_real;
  GPROC genie_R_dwilcox_real;
  GPROC genie_R_pwilcox_real;
  GPROC genie_R_qwilcox_real;
  GPROC genie_R_rwilcox_real;
  GPROC genie_R_dsignrank_real;
  GPROC genie_R_psignrank_real;
  GPROC genie_R_qsignrank_real;
  GPROC genie_R_rsignrank_real;

#endif

#endif
