CExp: Cosh Or Sinh Build Out Of Two Exps

View source: R/CExp.R

CExpR Documentation

Cosh Or Sinh Build Out Of Two Exps

Description

Evaluates

(exp(-m(T-x)) +/- exp(-m x))

for given mass m, vector x and time extent T. This form is better usable in chi^2 fitting than cosh or sinh.

Usage

CExp(m, Time, x, sign = 1)

Arguments

m

mass value

Time

Time extent

x

vector of values on which to evaluate the function

sign

with sign=1 cosh is evaluated, with sign=-1 sinh

Value

vector f(x)

Author(s)

Carsten Urbach carsten.urbach@liverpool.ac.uk

Examples


m <- 0.1
Time <- 48
x <- seq(0, 48, 1)
CExp(m=m, Time=Time, x=x)

hadron documentation built on Sept. 9, 2022, 5:06 p.m.