Template interface for the evaluate function in Module:CurveTable.
A curve table is a collection of coordinates that form a series of consecutive line pieces. The parts between the given coordinates are linear. This template calculates the of a given in a given curve table.
yare numerical) (without a space after the comma) and points are separated by a single whitespace. At least one point must be given.
|Description||Wikicode||Expected result||Actual result|
|Single point, evaluate at this point||
|Single point, evaluate before this point||
|Single point, evaluate at negative index||
|Two points, evaluate on second point||
|Two points, evaluate in between points||
|Two points, evaluate before first point||
|Two points, evaluate after last point||
|Three points, evaluate in between first two points||
|Three points, evaluate in between last two points||
|Three points, evaluate before first two points||
|Three points, evaluate after last two points||
|Does no rounding by default||
|Ceil rounds towards infinity||
|Floor rounds towards negative infinity||
|Trunc rounds towards zero||
|Nearest rounds towards infinity||