Constructor for periodic_spline

Populates a periodic_spline instance `spl`

representing the
periodic data y(x) of length n and periodic on `period`

. Note
that the spline library expects `period > x(n) - x(1)`

, which
means the input data shouldn't include the duplicate periodic
point. As a convenience the user can pass data with the
duplicate point and set `drop_last_point = .true.`

to
automatically exclude the duplicate point.

Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|

real, | intent(in), | dimension (:) | :: | x |
||

real, | intent(in), | dimension (:) | :: | y |
||

real, | intent(in) | :: | period |
|||

logical, | intent(in), | optional | :: | drop_last_point |
||

real, | intent(in), | optional | :: | tension |