putRight

fun putRight(right: T, piece: Polynomial<T>)

Dynamically adds a piece to the right side (beyond maximum argument value of previous piece)

Parameters

right

new rightmost position. If is less than current rightmost position, an error is thrown.

piece

the sub-function.

Sources

common source
Link copied to clipboard