Another dawning while doodling at the beauty shop...
... a way to join line segments easily to form PWL's, while maintaining all derivatives at the joining points.
(Using my TANH version of greater than, less than... I'm working on refining its coefficients to match segment slopes so there's no "peaking" :-) ...Jim Thompson
-- | James E.Thompson | mens | | Analog Innovations | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | San Tan Valley, AZ 85142 Skype: Contacts Only | | | Voice:(480)460-2350 Fax: Available upon request | Brass Rat | | E-mail Icon at