kochanek-bartels-coefficients ( tension bias continuity -- s1 d1 s2 d2 )


Vocabulary
math.splines.private

Inputs
tensionan object
biasan object
continuityan object


Outputs
s1an object
d1an object
s2an object
d2an object


Definition


:: kochanek-bartels-coefficients
( tension bias continuity -- s1 d1 s2 d2 )
1 tension - [
1 bias +
[ 1 continuity + * * 2 / ] [ 1 continuity - * * 2 / ]
2bi
] [
1 bias -
[ 1 continuity - * * 2 / ] [ 1 continuity + * * 2 / ]
2bi
] bi ;