QwtPowerTransform(3)

πŸ’… QwtPowerTransform β€” QwtPowerTransform(3) πŸ’…

Okay bestie, welcome to the Library Functions Manual page for QwtPowerTransform β€” manual name QwtPowerTransform(3), and yes, this is the whole vibe.


πŸ’– NAME πŸ’–

QwtPowerTransform β€” a transformation using pow(). That’s the name blurb, and it ate. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <qwt_transform.h>

Inherits QwtTransform.

✨ Public Member Functions ✨

  • QwtPowerTransform (double exponent) β€” constructor with an exponent.
  • virtual ~QwtPowerTransform () β€” Destructor.
  • virtual double transform (double value) const override β€” transforms a value.
  • virtual double invTransform (double value) const override β€” inverse-transforms a value.
  • virtual QwtTransform * copy () const override β€” returns a clone of the transformation.

🌈 Public Member Functions inherited from QwtTransform 🌈

  • QwtTransform () β€” Constructor.
  • virtual ~QwtTransform () β€” Destructor.
  • virtual double bounded (double value) const β€” signature listed here, no extra description on this page.

🌸 Detailed Description 🌸

Okay so QwtPowerTransform is literally a transformation using pow(). It preserves the sign of a value β€” yes bestie, the sign stays intact. F.e. a transformation with a factor of 2 transforms a value of -3 to -9 and v.v. (vice versa). So QwtPowerTransform can be used for scales including negative values. No cap.

Definition at line 125 of file qwt_transform.h.


πŸ› οΈ Constructor & Destructor Documentation πŸ› οΈ

🧚 QwtPowerTransform::QwtPowerTransform (double exponent) [explicit]

Constructor.

Parameters:

  • exponent β€” Exponent.

Definition at line 121 of file qwt_transform.cpp.

🫢 QwtPowerTransform::~QwtPowerTransform () [virtual]

Destructor.

Definition at line 128 of file qwt_transform.cpp.


πŸ”₯ Member Function Documentation πŸ”₯

πŸ‘‘ QwtTransform * QwtPowerTransform::copy () const [override], [virtual]

Returns: Clone of the transformation.

Implements QwtTransform.

Definition at line 158 of file qwt_transform.cpp.

πŸ¦‹ double QwtPowerTransform::invTransform (double value) const [override], [virtual]

Parameters:

  • value β€” Value to be transformed.

Returns: Inverse exponentiation preserving the sign.

Implements QwtTransform.

Definition at line 149 of file qwt_transform.cpp.

⭐ double QwtPowerTransform::transform (double value) const [override], [virtual]

Parameters:

  • value β€” Value to be transformed.

Returns: Exponentiation preserving the sign.

Implements QwtTransform.

Definition at line 136 of file qwt_transform.cpp.


πŸ‘‘ Author πŸ‘‘

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


Okay that’s the whole page, bestie πŸ’– Source/version: Qwt User's Guide; manual: QwtPowerTransform(3); date: none shown in the footer β€” Doxygen-generated from the source code, periodt. πŸ’…

πŸ“¦ where this page comes from