logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

QwtPowerTransform - A transformation using pow()

Author

       Generated automatically by Doxygen for Qwt User's Guide from the source code.

Version 6.1.4                                    Wed Jan 2 2019                             QwtPowerTransform(3)

Constructor & Destructor Documentation

QwtPowerTransform::QwtPowerTransform(doubleexponent)
       Constructor

       Parameters:exponent Exponent

Detailed Description

       A transformation using pow()

       QwtPowerTransform preserves the sign of a value. F.e. a transformation with a factor of 2 transforms a
       value of -3 to -9 and v.v. Thus QwtPowerTransform can be used for scales including negative values.

Member Function Documentation

QwtTransform*QwtPowerTransform::copy()const[virtual]Returns:
           Clone of the transformation

       Implements QwtTransform.

   doubleQwtPowerTransform::invTransform(doublevalue)const[virtual]Parameters:value Value to be transformed

       Returns:
           Inverse exponentiation preserving the sign

       Implements QwtTransform.

   doubleQwtPowerTransform::transform(doublevalue)const[virtual]Parameters:value Value to be transformed

       Returns:
           Exponentiation preserving the sign

       Implements QwtTransform.

Name

       QwtPowerTransform - A transformation using pow()

Synopsis

       #include <qwt_transform.h>

       Inherits QwtTransform.

   PublicMemberFunctionsQwtPowerTransform (double exponent)
       virtual ~QwtPowerTransform ()
           Destructor.
       virtual double transform (double value) const
       virtual double invTransform (double value) const
       virtual QwtTransform * copy () const

See Also