BoundedDomain

BoundedDomain(self, bounds: Tensor | None = None)

Mapping from a bounded domain to \([-1, 1]\).

This class provides a linear mapping from a bounded domain, \([x_{0}, x_{1}]\), to \([-1, 1]\).

Parameters

bounds : Tensor | None = None

A set of bounds, \([x_{0}, x_{1}]\). The default choice is torch.tensor([-1.0, 1.0]) (in which case the mapping is the identity mapping).