Skip to content

Support Datetime interpolation #436

@Beforerr

Description

@Beforerr

I’m wondering if it is possible to directly support interpolation over datetime, without converting datetime into number using Dates.value. So the following codes would just work.

using Dates

t = Millisecond.(collect(1:10:100))
u = 2.0collect(1:10)
A = @inferred(LinearInterpolation(
    u, t; extrapolation = ExtrapolationType.Extension))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions