.. _auto_math_pow: *COMPUTE THE NUMBER TO THE POWER OF A NUMBER* ============================================= Raises a base number to an integer exponent using PHP's native `pow()` function and returns the scalar result. Use this worker whenever a workflow needs a simple exponentiation step — e.g. squaring a value, computing a cube, or applying any integer power. When to use ----------- Classification: **process**. Tagged: ``arithmetic``, ``exponent``, ``math``, ``pow``, ``power``, ``scalar``, ``transformation``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Base Number - base_number - scalar - — - ✓ - The base scalar value to be raised to a power; accepts any real number (integer or float); no default — must be supplied by the upstream workflow. * - Exponent - exponent - integer - 0 - ✓ - The integer exponent (power) to which the base is raised; defaults to 0, which always yields 1 regardless of the base. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - math_pow_output_1 - math_pow_output_1 - scalar - Scalar result of base_number raised to the given exponent (i.e. base_number ^ exponent); inherits the numeric type of the base input. Disciplines ----------- - data.curve.transform Runnable example ---------------- A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: `/api/workflow/example?id=math_pow `_ .. raw:: html

Auto-generated from transformation schema. Worker id: math_pow. Schema hash: 5bd3892f5002. Hand-curated docs in workerexamples/ override this page when present.