R/gamma.R

Defines functions Lgamma Digamma Trigamma Choose Lchoose

Documented in Choose Digamma Lchoose Lgamma Trigamma

#[export]
Lchoose <- function(x,k) {
  .Call(Rfast_Lchoose,x,k)
}

#[export]
Choose <- function(x,k) {
  .Call(Rfast_Choose,x,k)
}

#[export]
Trigamma <- function(x) {
  .Call(Rfast_Trigamma,x)
}

#[export]
Digamma <- function(x) {
  .Call(Rfast_Digamma,x)
}

#[export]
Lgamma <- function(x) {
  .Call(Rfast_Lgamma,x)
}

Try the Rfast package in your browser

Any scripts or data that you put into this service are public.

Rfast documentation built on Nov. 9, 2023, 5:06 p.m.