# Interpolater(xs, ys)

Represents a mapping between sorted sequences; performs linear interp.

**@Params:**

| param | type  | description |
|-------|-------|-------------|
| xs    | array | sorted list |
| ys    | array | sorted list |


**@Methods:**

## .lookup(x)

Looks up x and returns the corresponding value of y.

## .reverse(x)

Looks up y and returns the corresponding value of x.

