Module flowcon.transforms.splines.cubic

Functions

def cubic_spline(inputs, unnormalized_widths, unnormalized_heights, unnorm_derivatives_left, unnorm_derivatives_right, inverse=False, left=0.0, right=1.0, bottom=0.0, top=1.0, min_bin_width=0.001, min_bin_height=0.001, eps=1e-05, quadratic_threshold=0.001)

References:

Blinn, J. F. (2007). How to solve a cubic equation, part 5: Back to numerics. IEEE Computer Graphics and Applications, 27(3):78–89.

def unconstrained_cubic_spline(inputs, unnormalized_widths, unnormalized_heights, unnorm_derivatives_left, unnorm_derivatives_right, inverse=False, tail_bound=1.0, tails='linear', min_bin_width=0.001, min_bin_height=0.001, eps=1e-05, quadratic_threshold=0.001)