chkinverse: Check if two functions are inverses of one another over a...

Description Usage Arguments Value

View source: R/generateTPfullgrids.R

Description

This is a quick and dirty check; it will definitely fail if the input range is not in the domain of both functions.

Usage

1
chkinverse(f1, f2, range = c(1, 5), ntest = 10, logspace = FALSE)

Arguments

f1

First function to test

f2

Second function to test

range

Range of test values

ntest

Number of values to test in the range

logspace

Flag indicating whether to space test values logarithmically.

Value

logical


JGCRI/fldgen documentation built on July 18, 2020, 1:42 p.m.