domain_to_unit {activegp}R Documentation

Change a function's inputs to live in [-1, 1]

Description

Given an m dimensional function whose inputs live in bounded intervals [a1, b1], ..., [am, bm], return a wrapped version of the function whose inputs live in [-1, 1], ..., [-1, 1].

Usage

domain_to_unit(f, domain)

Arguments

f

The function to wrap, should have a single vector-valued input.

domain

A list of real tuples, indicating the original domain of the function.

Value

A function wrapping f.


[Package activegp version 1.0.6 Index]