Transform1¶
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/Transform1.js for the most up-to-date information.
Overview¶
One dimensional (scalar) transforms, which are invertible. Unlike Transform3 and Transform4, Transform1 may be nonlinear.
@author Sam Reid (PhET Interactive Simulations)
Class Transform1¶
Constructor¶
new Transform1( evaluationFunction, inverseFunction, options )¶
Instance Methods¶
evaluate( x )¶
Evaluate the transform at the specified scalar. @param {number} x @returns {number} @public
inverse( x )¶
Evaluate the inverse at the specified scalar. @param {number} x @returns {number} @public
Source Code¶
See the source for Transform1.js in the dot repository.