linear¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/dot/blob/main/js/util/linear.ts for the most up-to-date information.
Overview¶
Defines and evaluates a linear mapping. The mapping is defined so that \(f(a_1)=b_1\) and \(f(a_2)=b_2\), and other values are interpolated along the linear equation. The returned value is \(f(a_3)\).
@author Jonathan Olson <jonathan.olson@colorado.edu>