verse.utils.utils.lmap

verse.utils.utils.lmap(v: float, x: ndarray | Tuple[ndarray | Sequence[float], ndarray | Sequence[float]] | Tuple[ndarray | Sequence[Sequence[float]], ndarray | Sequence[Sequence[float]]] | Tuple[float, float] | List[ndarray | Sequence[float]] | List[ndarray | Sequence[Sequence[float]]] | List[float], y: ndarray | Tuple[ndarray | Sequence[float], ndarray | Sequence[float]] | Tuple[ndarray | Sequence[Sequence[float]], ndarray | Sequence[Sequence[float]]] | Tuple[float, float] | List[ndarray | Sequence[float]] | List[ndarray | Sequence[Sequence[float]]] | List[float]) float

Linear map of value v with range x to desired range y.