ArrayCombination

An array of single-output functions evaluated in parallel, producing one output component each (shadings / tint transforms sometimes use this form).

Constructors

Link copied to clipboard
constructor(domain: DoubleArray, parts: List<KiteFunction>)

Properties

Link copied to clipboard
open override val domain: DoubleArray

Input bounds: paired [min0, max0, min1, max1, …].

Link copied to clipboard
open override val outputCount: Int

Number of output components.

Link copied to clipboard
open override val range: DoubleArray? = null

Optional output bounds; null = unclipped.

Functions

Link copied to clipboard

Evaluate f(input) → output. The output length is outputCount.