---
url: /dyad/stable/stdlib/BlockComponents/types/Tables.ExtrapolationType.md
description: >-
  Dyad Tables.ExtrapolationType docs.  Specifies the extrapolation method used
  for the 1D innterpolation when trying to access values outside of the given
  data.
---

# `ExtrapolationType` {#ExtrapolationType}

Specifies the extrapolation method used for the 1D innterpolation when trying to access values outside of the given data.

Variants:

* `None`: This extrapolation type will throw an error when the input t is beyond the data in the specified direction.

* `Constant`: This extrapolation type extends the interpolation with the boundary values of the data.

* `Linear`: This extrapolation type extends the interpolation with a linear continuation of the interpolation, making it $C^1$ smooth at the data boundaries.

* `Extension`: This extrapolation type extends the interpolation with a continuation of the expression for the interpolation at the boundary intervals for maximum smoothness.

* `Periodic`: This extrapolation type extends the interpolation such that `A(t + T) == A(t) for all t`, where the period is given by `T = last(A.t) - first(A.t)`.

* `Reflective`: This extrapolation type extends the interpolation such that `A(t_ + t) == A(t_ - t)` for all `t_, t` such that `(t_ - first(A.t)) % T == 0` and `0 < t < T`, where `T = last(A.t) - first(A.t)`.

## Cases {#Cases}

* `None`

* `Constant`

* `Linear`

* `Extension`

* `Periodic`

* `Reflective`

## Source {#Source}

```dyad
"""
Specifies the extrapolation method used for the 1D innterpolation when trying to access values outside of the given data.

Variants:
- `None`: This extrapolation type will throw an error when the input t is beyond the data in the specified direction.
- `Constant`: This extrapolation type extends the interpolation with the boundary values of the data.
- `Linear`: This extrapolation type extends the interpolation with a linear continuation of the interpolation, making it $C^1$ smooth at the data boundaries.
- `Extension`: This extrapolation type extends the interpolation with a continuation of the expression for the interpolation at the boundary intervals for maximum smoothness.
- `Periodic`: This extrapolation type extends the interpolation such that `A(t + T) == A(t) for all t`, where the period is given by `T = last(A.t) - first(A.t)`.
- `Reflective`: This extrapolation type extends the interpolation such that `A(t_ + t) == A(t_ - t)` for all `t_, t` such that `(t_ - first(A.t)) % T == 0` and `0 < t < T`, where `T = last(A.t) - first(A.t)`.
"""
enum ExtrapolationType =
  | None
  | Constant
  | Linear
  | Extension
  | Periodic
  | Reflective
```

## Related {#Related}

* Examples

* Experiments

* Analyses

* Tests
