gpuLm.defaultTol: Function to switch tolerance depending on precision

View source: R/gpuLm.R

gpuLm.defaultTolR Documentation

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


gputools documentation built on Oct. 24, 2026, 5:07 p.m.