A real number profile; a function from time to real numbers.

Most real profiles are piecewise-linear, but some can be piecewise-constant if the underlying datatype is an integer. More general function types are currently unsupported.

Hierarchy

  • Real

Methods

  • Replaces all gaps in this profile with default segments taken from the argument

    Parameters

    • defaultProfile: number | Real

      number or real profile to take default values from.

    Returns Real

  • Shifts the profile forward or backward in time.

    Parameters

    • duration: Duration

      duration shift each segment (can be negative)

    Returns Real

Generated using TypeDoc