Transform1¶
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.