Polynomial
A polynomial in time.
For example: 2,3,5 would correspond to:
f(t) = 2 + 3t + 5t^2
Note that the coefficients can be values of any vector space, and hence do not have to be scalars.
Functions
Link copied to clipboard
Gets the exact symbolic integral of the polynomial behavior.
Link copied to clipboard
Integrate the behavior with respect to the current Timeline's clock time.
Integrate the behavior with respect to the current Timeline's clock time, supplying an explicit VectorSpace instance.
Link copied to clipboard
inline fun <T> Behavior<T>.integrateWith(initial: T, noinline accum: SampleScope.(T, T) -> T): Behavior<T>
fun <T> Behavior<T>.integrateWith(vectorSpace: VectorSpace<T>, initial: T, accum: SampleScope.(T, T) -> T): Behavior<T>
Link copied to clipboard
Used to support dirac impulses in behaviors.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Calculates the value at the specified time.
Link copied to clipboard
Apply a function to the time used to sample the behavior.