| is.nonpos {hypergeo} | R Documentation |
Various utilities
Description
Various utilities needing nonce functions
Usage
is.near_integer(i, tol=getOption("tolerance"))
is.nonpos(i)
is.zero(i)
isgood(x, tol)
thingfun(z, complex=FALSE)
crit(...)
lpham(x,n)
Arguments
i |
Numerical vector of suspected integers |
tol |
Tolerance |
x |
Argument to |
z |
Complex vector |
complex |
In function |
n |
second argument to |
... |
Ignored |
Details
Function
is.near_integer(i)returnsTRUEifiis “near” [that is, withintol] an integer; if the option is unset then1e-11is used.Function
is.nonpos()returnsTRUEifiis near a nonpositive integerFunction
is.zero()returnsTRUEifiis, er, near zeroFunction
isgood()checks for all elements ofxhaving absolute values less thantolFunction
thingfun()transforms input vectorzby each of the six members of the anharmonic group, viewed as a subgroup of the Mobius group of functions. It returns a real six-column matrix with columns being the modulus ofz,z/(z-1),1-z,1/z,1/(1-z),1-1/z. These six columns correspond to the primary argument in equations 15.3.3 to 15.3.9, p551 of AMS-55Function
crit()returns the two critical points,\frac{1}{2}\pm\frac{\sqrt{3}i}{2}. These points have unit modulus as do their six transforms bythingfun()Function
lpham()returns the log of the Pochhammer functionlog\left(\Gamma(x+n)/\Gamma(x)\right)
Note
Function isgood() uses zero as the default tolerance (argument
tol passed in from hypergeo());
compare the different meaning of tol used in
is.near_integer().
Here, “integer” means one of the sequence 0,\pm 1,\pm
2,\ldots [ie not the Gaussian integers].
Author(s)
Robin K. S. Hankin
Examples
is.near_integer(-3)
is.zero(4)