CExp: Cosh Or Sinh Build Out Of Two Exps

Description Usage Arguments Value Author(s) Examples

View source: R/CExp.R

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

1
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

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

hadron documentation built on Jan. 13, 2021, 8 a.m.