Type3
data class Type3(val domain: DoubleArray, val range: DoubleArray?, val functions: List<PdfFunction>, val bounds: DoubleArray, val encode: DoubleArray) : PdfFunction
Stitching function. A piecewise function that delegates to one of functions based on x's position relative to bounds, remapping x into the corresponding subfunction's domain via encode.
Constructors
Link copied to clipboard
constructor(domain: DoubleArray, range: DoubleArray?, functions: List<PdfFunction>, bounds: DoubleArray, encode: DoubleArray)
Properties
Link copied to clipboard
k-1 inner breakpoints; outer bounds come from domain.
Link copied to clipboard
Input bounds — paired [min0, max0, min1, max1, …].
Link copied to clipboard
2k-long re-mapping pairs: [in0_lo, in0_hi, in1_lo, in1_hi, …].
Link copied to clipboard
Link copied to clipboard
Number of output components.
Link copied to clipboard
Optional output bounds; null = unclipped.