mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-01-31 02:31:50 -05:00
725 B
725 B
//astronomy/io.github.cosinekitty.astronomy/SearchContext
SearchContext
fun interface SearchContext
Represents a function whose ascending root is to be found.
This interface must be implemented for callers of search in order to find the ascending root of a smooth function. A class that implements SearchContext can hold state information needed to evaluate the scalar function eval.
Functions
| Name | Summary |
|---|---|
| eval abstract fun eval(time: Time): Double Evaluates a scalar function at a given time. |