Learn R Programming

gputools (version 1.1)

gpuLm.defaultTol: Function to switch tolerance depending on precision

Description

This function was written by Mark Seligman at Rapid Biologics, http://rapidbiologics.com

The function gpuLm.fit calls this function to determine a default tolerance. So gpuLm.defaultTol should not need to be used directly.

Usage

gpuLm.defaultTol(useSingle = TRUE)

Arguments

useSingle
logical. If TRUE, a tolerance will be returned appropriate for single precision arithmetic. If FALSE, a tolerance will be returned appropriate for double precision arithmetic.

Value

a floating point number representing a tolerance to be used by gpuLm.fit

See Also

gpuLm.fit gpuLm